WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
Move navigation inline with site title? (5 posts)

  1. junior466
    Member
    Posted 1 year ago #

    I want to move my navigation menu inline with my website title. I have tried floating it to the right but I still have some space above it.
    Thanks!

    Yes, I am using a child theme :-)

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You'll need to post a link to your site for help with CSS questions.

  3. junior466
    Member
    Posted 1 year ago #

    My site is not yet up but it's basically the default theme.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Try using a negative top margin to move it up - this seems to do it:

    .main-navigation {
        float: right;
        margin-top: -50px;
        text-align: center;
    }

    But do be aware that making these kinds of changes in this theme - which is coded "mobile first" may wreck havoc with how the menu works on different size devices - so test widely.

  5. junior466
    Member
    Posted 1 year ago #

    It works somewhat. It definitely breaks the mobile site though.
    Thanks for your reply.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic