Title: CSS to float thumbnails horizontally
Last modified: April 12, 2018

---

# CSS to float thumbnails horizontally

 *  [windleydaoust](https://wordpress.org/support/users/windleydaoust/)
 * (@windleydaoust)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/css-to-float-thumbnails-horizontally/)
 * Hi there! So, I’m using the plugin to display thumbnails of top posts at the 
   top of my home page. On larger screens, I’d like the thumbnails to display horizontally.
   I’m trying to style this using the following code:
 *     ```
       .tptn_posts_daily.tptn_posts_widget.tptn_posts_widget3 ul li a {
       float: left;
       }
       ```
   
 * I’ve tried various combinations of selectors, to no avail. Thought I’d just ask,
   lol! Thanks in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-to-float-thumbnails-horizontally%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/css-to-float-thumbnails-horizontally/#post-10180776)
 * Can you try adding it to this:
 *     ```
       .tptn_posts_daily.tptn_posts_widget.tptn_posts_widget3 ul li {
       float: left;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘CSS to float thumbnails horizontally’ is closed to new replies.

 * ![](https://ps.w.org/top-10/assets/icon-256x256.png?rev=2986432)
 * [WebberZone Top 10 — Popular Posts](https://wordpress.org/plugins/top-10/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/top-10/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/top-10/)
 * [Active Topics](https://wordpress.org/support/plugin/top-10/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/top-10/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/top-10/reviews/)

## Tags

 * [thumbnail display](https://wordpress.org/support/topic-tag/thumbnail-display/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/css-to-float-thumbnails-horizontally/#post-10180776)
 * Status: not resolved