WordPress.org

Forums

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

  1. johnthreadheart
    Member
    Posted 1 year 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
    Forum Moderator
    Posted 1 year ago #

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

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

    No, it's still flushed right.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Where did you add that code?

  5. johnthreadheart
    Member
    Posted 1 year 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
    Forum Moderator
    Posted 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic