Reply To: enabling HTML5 changes formatting on home page

Homepage Community Forums Epik Theme Support enabling HTML5 changes formatting on home page Reply To: enabling HTML5 changes formatting on home page

#6480
Eric
Customer

    Yes, the Genesis Framework has changed quite a few things, so when you use HTML5 there are other changes that need to be made which do affect the home.php file. Take a look at your home.php file for this as an example –

    genesis_widget_area( 'home-feature-2', array(
    				'before' => '<div class="home-feature-2">',
    			) );

    Add or replace that code with this –

    genesis_widget_area( 'home-feature-2', array(
    				'before' => '<div class="home-feature-2">',
    				'after' => '</div>',
    			) );

    The 'after' => '</div>', part is what you’ll need to add. If there are ever 2 div classes or Id’s then you’ll need to add to divs. If you’re using the old code then the home-feature-2 may be an ID, but it’s all classes now in the new theme. Just make sure and keep it as an ID if thats what’s in your theme…either way it will still work when adding the “after” part.

    If you can, download the new version when it’s available to see the differences.


    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com