Containers

Posted in: Newspaper
Post count: 199

Hello all,
I need the following details for the settings of a plugin:

Content Container (e.g.main.site-main)
Post Title Selector (e.g. h1.entry-title)
Post Navigation Container (e.g. nav.post-navigation)
Comments Container (e.g. div#comments)

could you please help me?
Thank you in advance

Post count: 22421

Hello,

You can view the page source to see the classes, also learn to use the ‘inspector’ in Chrome (F12) as that is super helpful in finding classes for specific elements.
The main content is different for a post or for a page depending on what you use the plugin for.
It also depends if the plugin considers the sidebars in the same main content or not.
For post it could be: .td-main-content-wrap or .td-ss-main-content
For pages it is: .td-main-page-wrap
The post title selector: .entry-title
Post Navigation Container: .td-post-next-prev
Comments Container: .comments

I think I get what you are trying to do, and if you can get the post slider/infinite scroll to work, please share your solution with the community so we can help other users that need this option. We did not find any plugin that works though until now. Maybe you will be more lucky :).

Thank you!

Post count: 199

Thank you! I’ll try a few things and share back with the community!
Sadly, as you know already, the normal procedure didn’t work!

Post count: 23

hi there, same question, but for tagdiv mobile theme. Is it mobile theme use same name container? If deferent, can tou tell me what the name is?

example :
Content Container (e.g.main.site-main)
Post Title Selector (e.g. h1.entry-title)
Post Navigation Container (e.g. nav.post-navigation)
Comments Container (e.g. div#comments)

Post count: 22421

Hi,

Please use the browser inspector and you will see every class you are looking for: https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.