By Gregory Barton on Saturday, 30 October 2021
Posted in General Issues
Replies 6
Likes 0
Views 446
Votes 0
I really like using the showcase module for the display options it offers and it looks nice.
My issue is that I would like to use it on my category headers but when I do, it shows up on posts also.
Is there any way to use it on the category pages but exclude it from showing up on posts?
I have tried several unsuccessful approaches with menu items and different module positions.
Not exactly sure what to try next.
I'm not the best with css so not sure if there might be a way to do it using a class? Aside from adding custom css to the template, I wouldn't know where to put it so it applied to posts only.
Was hoping you could offer an idea?
Thanks a ton for your help.
Hey there,

Do you mean that you want to hide this away as shown in the screenshot? https://monosnap.com/file/OKLXqLTYLSTnopUMxu0VOraQTUtz3i

If yes, you can paste the following custom CSS code into Backend > EasyBlog > Themes > Custom CSS:

body #eb.eb-mod.mod-easyblogshowcase--hero .eb-gallery-viewport {
display: none;
}


Do clear all of your caches before you see the changes.
·
Monday, 01 November 2021 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
Thanks for your help, but won't that make it disappear altogether?
I am wanting it to not show up just on the post pages.
I want it on the category pages... just not the post pages
Thanks again for your help.
·
Tuesday, 02 November 2021 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

If that's the case, you can ignore the custom CSS that I provided previously and add the following custom CSS into Backend > EasyBlog > Themes > Custom CSS:

body.com-easyblog.view-entry #eb.eb-mod.mod-easyblogshowcase--hero {
display: none;
}


After that, you can enable it back for your category page.

Do clear all of your caches before you see the changes.
·
Tuesday, 02 November 2021 12:04
·
0 Likes
·
0 Votes
·
0 Comments
·
perfect! Thanks a bunch, Irwin.
·
Tuesday, 02 November 2021 23:34
·
0 Likes
·
0 Votes
·
0 Comments
·
I hate to be a butthole, BUT
Can I just replace 'body.com-easyblog' with 'body.com-easyarticles' and achieve the same desired effect on EasyArticles posts as well?
Thanks again for your help.
·
Wednesday, 03 November 2021 01:09
·
0 Likes
·
0 Votes
·
0 Comments
·
You can add the following CSS for it into your template's Custom CSS:

body.com-content.view-article #eb.eb-mod.mod-easyblogshowcase--hero {
display: none;
}


Do clear all of your caches before you see the changes.
·
Wednesday, 03 November 2021 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post