Home Forums Weaver Show Posts & Show Sliders show_posts floated in rows breaks on upgrade to Xtreme

Topic Resolution: Answered

This topic contains 4 replies, has 2 voices, and was last updated by  scrambler 6 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #53796
    Answered

    Ned
    Participant

    I have a client site built on Weaver II Pro that uses show_posts to show each item (FI + title, fixed width box) floated left, so that the list of items fills one row, then the next, etc. until all items are displayed. Here’s that page: http://customknivesbymike.com/

    I cloned that site to a new location, http://cambriacleaningcompany.com/newKnives/, to upgrade it to Weaver Xtreme. Notice how the show_posts items are now all single column down the page.

    I located the problem:

    With Weaver II, each article.post in the containing wvr-show-posts div follows the previous article with no intervening code, and the float:left works as intended.

    With Weaver Xtreme, each article.post in the atw-show-posts div is followed by a

     “clear:both div”

    which breaks the intended float behavior.

    Any suggestions on how to work around this?

    (Both sites on WP 4.9.4 and latest versions of themes and plugins)

    #53800
    Best Answer

    scrambler
    Moderator

    This reply has been accepted as the best answer.

    Did you use custom CSS to define the columns.

    If so, you may want to have a look at the article below for the new one you may need

    https://guide.weavertheme.com/display-posts-in-more-than-3-columns/

     

    #53801

    Ned
    Participant

    Thanks, Scrambler, but these are not columns, but rather a series of left-floated, fixed-width boxes.

    As the browser page narrows, the number of boxes per row reduces, like this, where each numeral represents a box:

    Wide window:
    12345
    67890

    Narrower window:
    1234
    5678
    90

    (However, let me try the approach you suggest, it may even work better)

    #53802

    Ned
    Participant

    OK, Scrambler, I tried the https://guide.weavertheme.com/display-posts-in-more-than-3-columns/ approach and it is an acceptable workaround to my problem, in fact, it works much more nicely than my original approach.

    Thank you for the fast response to my question.

    #53804

    scrambler
    Moderator

    Glad it does what you want. It can easily be tweaked if needed

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.