[Resolved] Sub menu misalignment.

Home Forums Support [Resolved] Sub menu misalignment.

Home Forums Support Sub menu misalignment.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #107368
    Rebecca Wade

    Building a website at http://bartley2.purple-dog.co.uk/ using premium theme generate press.
    However, the sub menu navigation is not in alignment.
    The very top sub menu is out of alignment with the rest – see clients and services.

    Please advise?

    #107416
    Tom
    Lead Developer
    Lead Developer

    This custom CSS is the culprit:

    .main-navigation .menu li:first-child a {
        padding-left: 0;
    }

    To make it only affect the top level items, you can do this:

    .main-navigation .menu > li:first-child a {
        padding-left: 0;
    }
    #107432
    Rebecca Wade

    Hi there,

    Not sure how the two codes are different?

    Updated all the same and not made a difference?

    Please advise further?

    Thanks,
    Rebecca

    #107433
    Tom
    Lead Developer
    Lead Developer

    Looks better to me – try clearing your browser cache and then take a look πŸ™‚

    The code I provided will only target the top level menu items, instead of the first menu item on every level.

    #107438
    Rebecca Wade

    Seems to be ok in Firefox but not Chrome? Tried incognito mode?

    Any ideas?

    #107447
    Tom
    Lead Developer
    Lead Developer

    Looks the same to me in Chrome? Maybe send a screenshot of what you’re seeing?

    #107448
    Rebecca Wade
    #107449
    Tom
    Lead Developer
    Lead Developer

    It may still be using your cache – have you cleared it in Chrome?

    #107460
    Rebecca Wade

    Perfect!

    After restarting the browser and clearing the cache it now seems to be aligning with firefox!

    Thanks for your help
    πŸ™‚

    #107512
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.