Community Forums › Forums › Archived Forums › General Discussion › Executive Theme, HTML 5, Home Div Issue
Tagged: Executive theme, home page, html5, widgets
- This topic has 5 replies, 4 voices, and was last updated 9 years, 1 month ago by christophermillsap.
July 3, 2013 at 7:12 am #48955ceswebMember
With the HTML5 update it appears that now my widget area of home-top/home-cta get put inside one another causing it to inherit the CSS And effectively mess up the full width / the CTA or if i move the CTA above, vise-versa.
I have the include in my functions for the html 5 and did the find/replace as well as converted my CSS...
Can someone help me out here as to what is causing this?
bumpJuly 4, 2013 at 9:46 am #49191nickthegeekMember
Please don't paste your entire CSS file. That makes for REALLY long posts with a ton of code that just isn't needed. That makes most volunteers walk away because it really creates a bit of an unmanageable thing. A much better solution is to fill in the URL field with the URL of your site. This creates a link automatically that opens in a new tab and is set to nofollow which is ideal for sharing your site for support. Seeing the site makes it possible to see the HTML markup and also the CSS if needed.
As for your issue, the HTML5 output for the genesis_widget_area() function requires that you declare the "after" argument because "before" may not be a
genesis_widget_area( 'home-top', array( 'before' => '<div class="home-top widget-area">', 'after' => '</div>', ) );
You need to do that for any genesis_widget_area() function.July 4, 2013 at 9:46 am #49192nickthegeekMember
oh, and bumping your post is actually a good way to make sure it isn't seen by the folks helping out.August 27, 2013 at 12:29 pm #59076Bart van MaanenParticipant
I had the same issue with the home.php file with Executive. Your code above seems to do the trick, but do you have to declare
'after' => '</div>',for all child themes? I did not have this issue with Balance?
Thanks.February 9, 2014 at 6:52 pm #89558christophermillsapMember
Noobie mcnooberson here,
I'm also using the executive pro child theme.
How do I make the CTA full width and also appear on all pages?
Any help to the noobie is much appreciated.
- The forum ‘General Discussion’ is closed to new topics and replies.