Community Forums › Forums › Archived Forums › Design Tips and Tricks › Make footer full-width Lifestyle Pro
Tagged: css, footer, lifestyle Pro
- This topic has 2 replies, 2 voices, and was last updated 8 years, 6 months ago by senordeer.
-
AuthorPosts
-
April 4, 2016 at 1:36 pm #182904senordeerMember
Howdy:
I have added:
remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_after', 'genesis_do_footer' );
to functions.php to try to move the site footer outside of the main wrap (I want the footer to be full-width). This worked fine when I moved the header and primary nav to make full-width, but I'm confused on the footer. I now see the default theme footer info below the wrap, but I can't figure out how to style it (add a background color, etc.).
Additionally and I know Genesis Simple Hooks is not a Studiopress thing, but I have custom info in the genesis_footer hook using GSH, so that info is appearing in the green footer box, plus the default creds are appearing below. So ideally what I would like to do is to move the whole green box outside the wrap so it appears full-width below the content. Any help appreciated thx!
URL: http://birdsofafeather.wordpresstest.net
http://birdsofafeather.wordpresstest.net/April 4, 2016 at 2:11 pm #182906Victor FontModeratorYou missed a couple of things. To move the footer outside of the site container, you need to use the following code:
//* Reposition the footer widgets remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' ); add_action( 'genesis_after', 'genesis_footer_widget_areas' ); //* Reposition the footer remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 ); remove_action( 'genesis_footer', 'genesis_do_footer' ); remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 ); add_action( 'genesis_after', 'genesis_footer_markup_open', 11 ); add_action( 'genesis_after', 'genesis_do_footer', 12 ); add_action( 'genesis_after', 'genesis_footer_markup_close', 13 );
What you did was move the content of the footer, but not the markup. That's why the content is sitting out there by itself.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?April 4, 2016 at 2:32 pm #182910senordeerMemberHey Victor awesome and thank you for the prompt response.
That works fine, I can work on styling the widgets no prob. One more question, and it's okay if you can't answer this because it's really about Genesis Simple Hooks, but I have some custom content in the genesis_footer hook in GSH, it's now appearing above the widget area (it's some creds and social media icons), on older themes I have been able to use GSH to customize the footer output, but clearly it's not working here, should I just use Genesis Simple Edits? Or do you have a suggestion as to the best way to customize footer output now that it has moved?
Totally okay if this is outside the realm here I realize these are plugins and not Studiopress products, thanks!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.