Title: Latest Posts not fully responsive
Last modified: August 30, 2016

---

# Latest Posts not fully responsive

 *  Resolved [WSO.host](https://wordpress.org/support/users/buzznot99/)
 * (@buzznot99)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/latest-posts-not-fully-responsive/)
 * When using Zerif Lite, if I choose the “Your Latest Posts” as the Static Front
   Page option, I’ve noticed an issue with responsiveness.
 * When using a caching plugin (in this case ZenCache), the home page is cached 
   and stored when it is accessed for the first time.
 * I figured Zerif Lite was fully responsive, meaning the HTML and CSS were identical
   no matter what device accesses the site and the CSS would sort out the proper
   layout based on screen size?
 * But it seems if the device is small the latest posts carousel will show fewer
   entries. For example, if the home page is accessed from a smart phone it will
   show only one latest post entry, on a desktop it will show 4. The problem is 
   then this page is cached for all subsequent visitors. If a smartphone hits first,
   then a desktop user who comes later will see just one entry in the latest posts
   area.
 * I understand it is my choice to use a caching plugin, but is this the intended
   behavior of Zerif Lite? Why not use CSS only to change the layout of the latest
   posts on the fly so that what is displayed is screen size dependent as calculated
   by CSS and not hard coded into the HTML? That would make it truly responsive.
 * FYI, I’ve not noticed any other area of Zerif Lite that has this issue.
 * Please consider changing this behavior to make it truly responsive.
 * Thank you.

Viewing 1 replies (of 1 total)

 *  [ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/latest-posts-not-fully-responsive/#post-6651921)
 * Zerif Lite unfortunately uses `wp_is_mobile()` in frontend (the function actually
   should only be used in WordPress backend).
 * For e.g. W3 Total Cache, [find a workaround here](https://wordpress.org/support/topic/wp_is_mobile-conflict-with-w3-total-cache),
   it adds a User Agent Group which matches the conditions in wp_is_mobile, so two
   cached versions are created/served.
 * Maybe you can add a similar behaviour to your cache.

Viewing 1 replies (of 1 total)

The topic ‘Latest Posts not fully responsive’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/zerif-lite/1.8.5.49/screenshot.
   png)
 * Zerif Lite
 * [Support Threads](https://wordpress.org/support/theme/zerif-lite/)
 * [Active Topics](https://wordpress.org/support/theme/zerif-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/zerif-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/zerif-lite/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)
 * [wp_is_mobile](https://wordpress.org/support/topic-tag/wp_is_mobile/)
 * [zerif-lite](https://wordpress.org/support/topic-tag/zerif-lite/)

 * 1 reply
 * 2 participants
 * Last reply from: [ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/latest-posts-not-fully-responsive/#post-6651921)
 * Status: resolved