WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. JbSv
    Member
    Posted 11 months 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 11 months ago #

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

  3. JbSv
    Member
    Posted 11 months 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 11 months 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 11 months ago #

    Seems to work, thanks a lot!

Reply

You must log in to post.

About this Theme

About this Topic

Tags