WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to center portfolio menu? (7 posts)

  1. johnthreadheart
    Member
    Posted 10 months ago #

    Hi,

    The theme I installed came with a portfolio that has a menu bar above it to navigate between types. I'm having difficulty figuring out how to center it or even have it flush left. Any help would be appreciated.

    My portfolio page

    Thanks!

  2. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Try adding this to custom CSS (style.css):

    .filterable {
        float: none;
        margin: 0 auto 5%;
        display: table;
    }
  3. johnthreadheart
    Member
    Posted 10 months ago #

    No, it's still flushed right.

  4. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Where did you add that code?

  5. johnthreadheart
    Member
    Posted 10 months ago #

    First, I added it in using "custom css manager" plugin. When that didn't work, I went into main.css (the theme's author's version of style.css) and replaced this code:

    .filterable {
    float: right;
    list-style: none;
    text-transform: uppercase;
    margin: 0 0 5% 0;
    clear: both;
    }

    I switched it back afterwards out of fear it'd affect something else.

  6. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Could you add it back to Custom CSS? Generally, it's best to keep whatever you've tried so whoever has suggested it can see why it's not working.

  7. johnthreadheart
    Member
    Posted 10 months ago #

    I just put it back in and now it works... Thanks! haha

Reply

You must log in to post.

About this Topic