WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Changing navigation left ro right (5 posts)

  1. JbSv
    Member
    Posted 1 year ago #

    The default navigation is going right to left (first menu item is on the far right, second to its left, and so on).

    For the life of me, I can't find where this is defined, by reading the css file or using Firebug.

    I would like to change it to left to right (first menu item on the left of the navigation box, and so on).

    Any idea?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Do you have a space in the dashboard to hold CSS modifications (other than directly in theme files)?

  3. JbSv
    Member
    Posted 1 year ago #

    Duh, I should have mentioned this. Yes I know how to use a plugin to add CSS, or make a child theme.

    My question is a CSS question, what rules define the navigation menu to stock up items from right to left?

    I assume its some kind of float, but can't find it anywhere :(

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try adding this CSS to your Custom CSS plugin or Child Theme style.css file:

    .main-navigation ul { float: right; }
    .main-navigation li { float: left; }
  5. JbSv
    Member
    Posted 1 year ago #

    Seems to work, thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags