• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Change Front Page FROM Full Content TO Content & Sidebar

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

Tagged: content, sidebar

  • This topic has 6 replies, 2 voices, and was last updated 9 years, 5 months ago by francky.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 17, 2013 at 11:29 am #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!

    August 17, 2013 at 12:53 pm #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 – http://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.

    August 17, 2013 at 1:37 pm #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!

    August 18, 2013 at 12:29 pm #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.

    August 18, 2013 at 12:39 pm #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!

    August 18, 2013 at 1:00 pm #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.

    August 18, 2013 at 2:50 pm #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!

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

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework