Right-align primary navigation

Home Forums WordPress Themes – Premium Pure & Simple Right-align primary navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #69592
    Vicki Berenson
    Participant

    I’ve moved the primary navigation above the banner and would like to right-align it. Can I do that using CSS? I tried a number of things but nothing worked, so I probably need the correct element & CSS. Thanks!

    #69606
    Styled Themes
    Keymaster

    Hello Vicki,

    It depends how you moved the nav and what HTML changes were done.
    Can you provide a URL where I can see it in action?

    thanks
    regards
    Imre

    #69613
    Vicki Berenson
    Participant

    Sorry, forgot to provide the URL. https://www.wnpjs.org/
    I put the main menu above the banner and hid the header section.

    #69643
    Styled Themes
    Keymaster

    this should do the trick

    @media screen and (min-width: 783px) {
    .primary-navigation ul.nav-menu {
        float: right;
    }
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.