Navigation jumping on pages

Community Forums Forums General Discussion Navigation jumping on pages

This topic is: resolved

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Tony @ AlphaBlossom 9 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #49686

    emasai
    Participant
    Post count: 471

    I am customizing the Agency theme and have a problem with the main navigation bar jumping down a few pixels when I change pages. Any ideas where this is coming from? The url is http://66.147.244.238/~mericbj6/

    Thanks


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    http://66.147.244.238/~mericbj6/
    #49819

    Tony @ AlphaBlossom
    Participant
    Post count: 347

    Hello,

    The #title on your home page is an <h1> tag, on your other pages it’s a <p> tag. They have different margin settings so when you view it on your homepage, there is more margin under your #title that is pushing the menu down more.

    Add this to your #title property (child themes style.css around line 144):

    margin-bottom: 14px;

    Of course, change 14px to whatever you want…I just used 14 px because appears vertically centered in the nav background (not tested in all browsers).

    Adding that will make it consistent across all pages.

    Have a great day.
    Tony


    Tony Eppright | http://www.AlphaBlossom.com | @_alphablossom

    #49820

    emasai
    Participant
    Post count: 471

    Thanks so much, that fixed it.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    #49821

    Tony @ AlphaBlossom
    Participant
    Post count: 347

    Glad it helped!


    Tony Eppright | http://www.AlphaBlossom.com | @_alphablossom

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.