Change Front Page FROM Full Content TO Content & Sidebar

Homepage Community Forums Epik Theme Support Change Front Page FROM Full Content TO Content & Sidebar

Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #6609
    francky
    Customer

      How can I change the front page of Epik Theme FROM Full Content TO Content & Sidebar?
      Of course I would like to maintain the 100% width of the widgets in “Full Content” but within that “Content” part.

      Thank you in advance!

      #6610
      scooby
      Customer

        You’ll see this in the top area of your home.php file –

        add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

        You could remove or change it and the layout will show up at the bottom of all the home widgets. Your content is not going to show because the home.php file is a separate file…meaning it loads automatically if widgets are added to it, and you wouldn’t need to create a page called home. Here is what I’m talking about – https://appfinite.com/tutorials/how-to-setup-the-home-and-blog-page/ …So once you do that your primary sidebar will probably show, but your content won’t, because there is no place to add any content since this isn’t a regular page. It’s for widget content. I’ve actually just used the Genesis Featured Posts widget to show my blog posts on the home page. Much easier. Hope that helps.

        #6613
        francky
        Customer

          Thank you Scooby!

          I tried to touch that part of home.php and what I could get is that the sidebar appeared below the home widgets and nothing on the left (i.e. content part). The home widgets took the whole space and the sidebar went below them.

          I would like to show the sidebar and those Epik Theme home widgets at the same time.

          I shall appreciate your support, Sir!

          #6622
          scooby
          Customer

            “the sidebar appeared below the home widgets and nothing on the left (i.e. content part). The home widgets took the whole space and the sidebar went below them.”

            Thats what I mentioned above. The content area will be blank and then your sidebar will appear on the side, but your Home Widgets should appear on top. Thats just the way the file was designed. There is no “Content” area that will show up, because there’s no place to add content since this file is developed for widgets.

            I’m not really sure what you’re trying to do exactly, but I’m sure it would be easier to just use the widgets. Anything beyond that then I’d recommend you do a Google search for creating custom page templates in WordPress/Genesis. It’s probably not easy if you’re not familiar with coding, and if that’s the case then you’d probably need to hire one of the developers around here to develop this for you….depending on what all you need.

            #6625
            francky
            Customer

              Thank you Scooby!

              What I’m trying to accomplish is, to have the sidebar on the right and the rest of home widgets on the left.
              A good example is http://demo.studiopress.com/news/

              I hope you now get what I’m trying to say, Sir!

              #6630
              scooby
              Customer

                Yeah, there are a lot of changes that would need to be made in order to do this. Since that would go way beyond the scope of support, you’re better off hiring someone to do this for you, either that or learning how to code html, css, php, etc. It would take some time to do this, as there are many adjustments that are needed.

                If there was a link or tutorial that I knew of I’d at least point you in the right direction so you could try it out, but this type of customization is unique and I don’t think one exists at the moment.

                #6633
                francky
                Customer

                  Thank you Scooby!

                  home.php changes;
                  I have changed
                  add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
                  TO
                  add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' );

                  and the width: 1152px; to width: 65.277777777%; in the following CSS parts;

                  #welcome .wrap {
                      margin: 0 auto;
                      overflow: hidden;
                      padding: 40px 0 0;
                      width: 1152px;
                  }
                  #home-feature-bg .wrap {
                  	margin: 0 auto;
                  	overflow: hidden;
                  	padding: 40px 0 0;
                  	width: 1152px;
                  }
                  #home-feature-bg-alt .wrap {
                  	margin: 0 auto;
                  	overflow: hidden;
                  	padding: 40px 0 0;
                  	width: 1152px;
                  }
                  #home-feature-bg-dark .wrap {
                  	margin: 0 auto;
                  	overflow: hidden;
                  	padding: 40px 0 0;
                  	width: 1152px;
                  }

                  But it still didn’t work though I could tell I might be in the right direction.
                  Would what other CSS stuffs am I supposed to change?
                  Is there and other php file I have to touch too?

                  I shall appreciate you help, Sir!

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.