Community Forums › Forums › Archived Forums › General Discussion › Landing Page Template – Legacy Theme
- This topic has 6 replies, 2 voices, and was last updated 11 years, 1 month ago by PainterMommy.
-
AuthorPosts
-
March 25, 2013 at 1:01 pm #31154PainterMommyMember
I am working on a landing page template design for a client and the navigation bar is still showing and I can't get the border color to show.
This is the link to the page - http://www.soulwomansanctuary.com/manifesting-miracles-eprogram/
This is the code I added to the php file:
<?php
/*
Template Name: Landing Gray
*/// Force full-width page layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );// Remove header, navigation, breadcrumbs, footer, footer widgets
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
remove_action( 'genesis_before_header', 'genesis_do_nav' );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
remove_action( 'genesis_after', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_after', 'genesis_do_footer' );
remove_action( 'genesis_after', 'genesis_footer_markup_close', 15 );
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
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 );genesis();
This is the code I added to the stylesheet:
.page-template-landinggray-php #wrap {
width: 800px;
border: 0px solid #ededed;
}.page-template-landinggray-php #inner {
width: 740px;
}.page-template-landinggray-php .page {
padding: 10px 10px 0;
}.page-template-landinggray-php #content {
margin: 0 auto;
width: 740px;
}I appreciate any insight that you might have for me. I am a novice when it comes to coding.
DAWN
March 25, 2013 at 3:29 pm #31181AnitaKeymasterDawn, review this and see if it helps - http://www.briangardner.com/create-landing-page/.
Love coffee, chocolate and my Bella!
March 25, 2013 at 4:28 pm #31192PainterMommyMemberOK, I looked it over. Is there anything I am missing in my code? Do you see anything that is wrong that would be causing the nav bar to show?
March 25, 2013 at 5:11 pm #31198AnitaKeymasterYou have the border set at 0px - it should be at 1, 2... whatever you want, then it will show up. I have looked at the other code and cannot see why that Nav is in there. Did you turn the Navigation off under the Genesis settings?
Love coffee, chocolate and my Bella!
March 25, 2013 at 5:27 pm #31203PainterMommyMemberDuh! How stupid of me. I fixed it and it is showing great now. I am stumped about the navigation showing though. I did not mess with any Genesis settings. I can't leave the navigation there, the client doesn't want that. Is there anyone else that I could ask maybe? What would you suggest?
BTW, thankyou for taking the time to help me. 🙂
March 26, 2013 at 5:15 am #31272PainterMommyMemberI can't get the navigation to disappear. Help! What do I do?
March 26, 2013 at 7:40 am #31301PainterMommyMemberGot the answer!
The navigation displays AFTER the header on my homepage so the hook is different...
remove_action( 'genesis_after_header', 'genesis_do_nav' ); -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.