Show less posts on tablet portrait view
-
Hi,
First, thanks for a great plugin! It’s working great on the desktop view. On desktop layout we got 3 posts next to each other, and it loads the next 3 posts perfectly fine.
However, when we get to tablet portrait layout (<=768px), I want this plugin to only show 2 posts, and of course only load the next 2 posts.
I use javascript to add classes to the wrapper div, so I can make two different wrappers in the plugin. One wrapper is being used when the class ‘desktop’ is added, the second wrapper should be used when the class ‘tablet’ is added.
The wrapper that is used when the class ‘tablet’ is used still shows 3 initial posts, while it’s set to only show 2 posts initially. It does however correctly load only the 2 next posts.
Here’s a link to the wrapper settings I’m using.
Wrapper settingsThanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Show less posts on tablet portrait view’ is closed to new replies.