The settings in Blog Layout to display meta elements make no differentiation between a post and page. I am looking to migrate a site from another theme to Enfold, and that theme has the ability when adding a blog list to a page to specify which meta elements appear. So for example every list on a page only displays posted dates whereas an actual post adds the author and categories.
Ideally the Blog Posts element in Avia Layout Builder needs another dialogue box to handle this or the Blog Layout needs to add options for posts vs. pages.
But in the absence of such features, if I set Blog Layout > Blog Meta Elements to display author, category and date (so all posts will show them), please can you advise the CSS to turn off author and category on every page (and separators if necessary)?
Or is there another way to do this?
Hi zimbo!
Please add following code to Quick CSS
.text-sep-comment, .text-sep-cat, .blog-categories, .blog-author {
display: none !important;
}
Best regards,
Yigit
Thanks, but that turns them off everywhere – how would I target all pages with this, but not posts?
Or more specifically it’s the Blog Posts section on a page (I’m using single author, small preview pic in Blog Layout), and/or the individual post summaries, where I want to switch the meta off.
Hey!
Please change the code to following one
.page .text-sep-comment, .page .text-sep-cat, .page .blog-categories, .page .blog-author {
display: none !important;
}
If that too does not help, please post the link to your page and point out the section you would like to remove meta
Best regards,
Yigit