• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

internal page help

Home › Community Forums › Legacy Theme Support › internal page help

  • This topic has 7 replies, 2 voices, and was last updated 10 years, 8 months ago by Wes.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 18, 2012 at 12:10 pm #1162
    Cove145
    Customer

    I am not using a primary nav only a header nav.  On my internal pages I still want the  colored section where the primary nav would be, but when I don’t have a primary nav there  is no section.  How can I add this section without using a primary nav?
    Thanks
    kris

     

    July 18, 2012 at 12:33 pm #1163
    Wes
    Moderator

    You could just add the exact same nav ID in your functions file like this –

    /** Nav Bar */
    add_action('genesis_after_header', 'nav_bar');
    function nav_bar() {
    echo '<div id="nav"></div>';
    }

    Then add some padding to the #nav in your css on or around line 321.

    July 18, 2012 at 12:53 pm #1164
    Cove145
    Customer

    so when I do that it adds to the home page which creates space above my slider.  Can I exclude it from the home page or is there a differnt solution?

    Thanks
    kris

    July 18, 2012 at 12:55 pm #1165
    Wes
    Moderator

    It shouldn’t add extra space unless you added too much padding.  How much padding did you add?

    I added 20px and it worked fine for me.

    July 18, 2012 at 12:59 pm #1166
    Cove145
    Customer

    I added 20px, it is adding the nav bar on the home page.

    Look at my home page.

    http://www.takesoneaction.com

     

    July 18, 2012 at 1:03 pm #1167
    Wes
    Moderator

    Add this to your style.css to remove it from the homepage

    .home #nav {
    display: none;
    }

    July 18, 2012 at 5:06 pm #1174
    Cove145
    Customer

    thanks

    July 18, 2012 at 5:06 pm #1175
    Wes
    Moderator

    You’re Welcome

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘internal page help’ is closed to new replies.

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework