Forum Replies Created
-
AuthorPosts
-
Trish-chMember
Thank you so much I will give this a try.
Trish-chMemberThank you so much for your help, not sure how to apply this,
genesis_structural_wrap( 'section' ); genesis_structural_wrap( 'section', 'close' ); add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'subnav', 'section', 'footer-widgets', 'footer', ) );
not really working, how would you apply this concept?
I have also tried a different approach that seems to work but still only getting the wrap div after the first section and closed at the end of the entire site-inner, which is not what I want, maybe need to put it inside a loop or custom loop like for each section as sections kind of thing
add_action( 'genesis_before_content', 'section_wrap' ); function section_wrap() { echo '<section>'; genesis_structural_wrap( 'section', 'open' ); }
Trish-chMemberGenwrock,
Thanks for your suggestion, I was actually trying to follow this tutorial but since section is just a tag and not a widget, I'm just not able to make it work.
Trish-chMemberHi,
I'm creating custom page templates and adding the section tags within the php elements I want to wrap in sections, the wrap class like content-sidebar-wrap is part of genesis framework and that's what I'm trying to add without having to hard code every page.
Trish-chMemberThanks for this link, my issue is more structural than css. I would like to add those wraps to the html markup by using genesis functions, once the structural wraps are in placed within the html, there is really no need for me to go into the css since the style for the default wraps are good enough. Just need to figure out the way to include those wrap divs after section divs in php.
Thanks
Trish-chMemberNo, they are not genesis developers
-
AuthorPosts