WordPress.org

Ready to get started?Download WordPress

Forums

Display recent posts inline (2 posts)

  1. Kecupochren
    Member
    Posted 1 year ago #

    Hi.

    I am using tw-recent-posts-widget (http://wordpress.org/plugins/tw-recent-posts-widget/) and I'd like the posts to display inline.

    The HTML generated by the widget looks like this

    <div id="secondary" class="widget-area" role="complementary">
       <div class="first front-widgets">
          <aside id="tw-recent-posts-2" class="widget tw-recent posts">
             <div class="featured-posts textwidget">
                <div class="featured-post"></div>
                <div class="featured-post"></div>
             </div>
          </aside>
       </div>
    </div>

    There is no CSS that affects any of those, the whole thing has a container with some margins and also, featured-post divs contain h4, some box with a text and a date.

    Hence, the challenge here is to align these divs into one line.

    Thank you.

  2. lettergrade
    Member
    Posted 1 year ago #

    Have you tried floating them?

Topic Closed

This topic has been closed to new replies.

About this Topic