• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

Post widget: where is no. of posts in source code?

R

regexreggae

New Member
Hey yall,
in the post widget one has the option to change no. of columns responsively. However, this option is not given for no. of posts to be shown per page (see pic in attachment for clarity). My goal is to also change this dynamically (responsively/ depending on which type of device). In order to tweak this I need to find this bit of information so I can access it. Unfortunately, all I can find in the source code is:

- in the HTML the respective <div> element has the classes elementor-grid-3, elementor-grid-tablet-2, elementor-grid-mobile-1
-
the corresponding CSS has a statement (combined with a media query for mobile devices) grid-template-columns: repeat(1,1fr);

But as you can see all this is about the no. of columns. I need to identify where exactly (and how) the no. of posts per page in the widget is set (5 in the example pic in the attachment) so I can add responsiveness to this manually (using either CSS media queries or some nice little JS, depending on the way and place this attribute is set).
Thx in advance for any hints!
Gary

number_of_posts.jpg
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top