WordPress.org

Ready to get started?Download WordPress

Forums

SHORT CODES 3 COLUMN (4 posts)

  1. GPD
    Member
    Posted 2 years ago #

    My shortcode is 3 columns.
    I'm placing 3 images per row.
    Every other line in row will misalign, placing one image by itself and throwing the rows below it out of sorts.

    One way I keep stuff in line is to place a   at the end of 1/3 last and 1/3 first.
    Only worked once.

    Heres a link to my misalignment.

    http://nextforwomen.com/videos-2

    Help what I'm I doing wrong!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    this is because some of the blocks are higher than others, and with the simple 'float:left' some posts get hung-up on these longer posts in the row above.

    you would possibly need to add a .first css class formatted with 'clear:left;' to each first post per row ...

    because you are using a commercial theme, there is nothing this forum can do to help - please ask the theme's seller for support.

  3. GPD
    Member
    Posted 2 years ago #

    Bare with me I'm a WordPress Idiot.
    Are you saying go into the short-code code and change the CSS class as stated?
    and that this is inside my theme? Wouldn't this problem be the same regardless of the theme? Since it will be the same short code plugin?

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    if you are using a shortcode plugin, this will be the same for all themes.

    which plugin are you using?
    please post a download link.

    what shortcode are you using within the content of your post/page?

Topic Closed

This topic has been closed to new replies.

About this Topic