Make Category not linkable

Posted in: Newspaper
Post count: 20

Hi,
I’d like to have just only 2-3 categories of posts that not have link (to all posts of category)
in home page.
I think I can work inside the relative flex block but I don’t know where
I remember also a custom css in forum but I cannot find where..
can you help please?
thank you

Post count: 21065

Hello!

Please provide more information about this issue or what you need to achieve, screenshots or a video and your website link, so I can understand better and help you efficiently.

A solution for sending a screenshot/video is this:
Download, capture, send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link, paste it here.

Thank you!

Post count: 20

Hi Bettina, sorry for my english.
I’d like to choose if category of a flex bock in home must have link or not.
I remember in a post you suggest custom css … something like these:
.category-XXX a: {
… none;
}
I made an example of my intention in attached picture:
https://www.lavocedivenezia.it/XTAGDIV.jpg
Thank you

  • This reply was modified 4 years by PaoloVe.
  • This reply was modified 4 years by PaoloVe.
  • This reply was modified 4 years by PaoloVe.
Post count: 21065

Hello!

Add this CSS code in Newspaper -> Theme panel -> Custom code -> Custom CSS:

.td-post-category:not(.td-post-extra-category) {pointer-events: none!important;}

Thank you!

Post count: 20

Thank you Bettina.
The code disable all links of categories in home not only some you choose,
but I like it anyway, I’ll keep.
Thank you again
Best,
P

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