Disable Single Posts Pages?

Posted in: Newspaper
Post count: 22

Hi there – I have designed a flexblock to display all the information I want from the posts underneath and basically I don’t really want the flexblock to link to the individual post pages.

Is there any way to run off the link to the single post view from the flexblock only for a specific page and not for the entire website?

Post count: 35449

Hi SAMYTHEBIGJUICY, this can be done with a custom css.
What you can do is to set an extra class on the flex block that you want to remove the clicks/links -> https://i.imgur.com/gTOlmo6.jpg -> https://i.imgur.com/xTTzgV8.jpg then just add the class on the blocks that you do not want to be clickable (you can use the class from my example).
The css is this one
.no-links a{
cursor: default;
pointer-events: none;
text-decoration: none;

}
You need to set it in the theme panel > custom code > custom css.
I hope this will help you!

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