• Resolved chrsm

    (@chrsm)


    I am trying to do a grid where I choose the post manually. The grid should only show the featured image.
    If I do so it adds a space after each image, which I will like to get rid of.

    My WP page:
    —————————————————-
    <div style=”width:33%;padding:0 0px 0 0;float:left;”>
    [ic_add_posts ids=’16’]
    [ic_add_posts ids=’18’]
    Text 1
    </div>

    <div style=”width:33%;padding:0 0px 0 0;float:left;”>
    [ic_add_posts ids=’20’]
    [ic_add_posts ids=’22’]
    Text 2
    </div>

    <div style=”width:34%;padding:0 0px 0 0;float:left;”>
    [ic_add_posts ids=’22’]
    [ic_add_posts ids=’20’]
    Text 3
    </div>
    <div style=”clear:both;”></div>
    —————————————————

    My post_loop_template.php only contains these lines:
    —————————————————
    <div class=”post hentry ivycat-post”>
    <!– This will output of the featured image thumbnail –>
    <div class=”featured-image”>
    <?php the_post_thumbnail( ‘large’ ); ?>
    </div>
    </div>
    —————————————————

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It add space after each thumbnail’ is closed to new replies.