Support » Plugin: OTW Portfolio Light » OTW Categories Ignoring Post Width

  • Resolved desert57

    (@desert57)


    I have seventy eight OTW Portfolio categories and instead of wrapping to a new line within the post area, they continue horizontally beyond the edge of the post area and into the margins. It currently creates a horizontal slider at the bottom of the page.

    The categories seem to ignore the post and page width settings of the Tempera template I am using.

    Is there a code change I can make to force the categories to start a new line and create subsequent lines?

    https://wordpress.org/plugins/otw-portfolio-light/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter desert57

    (@desert57)

    I’ve discovered that Firefox browser displays the categories properly, but not on any other browsers.

    Plugin Author OTWthemes

    (@otwthemes)

    Hi,

    You will need to adjust this with some custom css. The most common usage of the categories is like 5-6 categories.

    OTWthemes

    Thread Starter desert57

    (@desert57)

    Disappointed by the lack of assistance, but I found a solution that works.

    Editing the otw-portfolio.css file by changing the display code fixes the problem. Needed to change the inline code to inline-block, as seen below. Line 1440 in my file.

    Original Code
    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    }
    .otw-sc-portfolio .otw-portfolio-filter li {
    font-family: "Open Sans", sans-serif;
    color: #969696;
    display: inline;
    padding: 0;
    }

    Change to:

    }
    .otw-sc-portfolio .otw-portfolio-filter li {
    font-family: "Open Sans", sans-serif;
    color: #969696;
    display: inline-block;
    padding: 0;
    }

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    That may cause you grief in the future if the plugin get’s updated.

    Try that CSS in a custom CSS plugin instead.

    http://wordpress.org/plugins/search.php?q=custom+CSS

    That way if the plugin get’s updated you will not lose your CSS edits. I’ve found that the first hit is pretty good to use.

    http://wordpress.org/plugins/simple-custom-css/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘OTW Categories Ignoring Post Width’ is closed to new replies.