remove link of post title

Posted in: Newspaper
Post count: 11

Hi there,

my posts are displayed on category pages.
I want to remove/disable the link on the post title (H1).

This should result in that users can’t click on post titles to open them as single post. Because I want to keep the users only on the category page where I show the full post.

Best regards,
Oliver

Post count: 22421

Hello Oliver,

The easiest way to remove the links inside the categories is with a css code so you do not have to alter the php files. Try to use this code in the theme panel->custom css box:

.category-fashion .td-main-content .td_module_15{
pointer-events:none;
}

You can change the category you want to affect in the code, or if you want to affect all of the module 15’s on every category or other template you can use this code:

.td-main-content .td_module_15{
pointer-events:none;
}

Thank you!

Post count: 11

Thank you Bogdan!

Your solution was “too radical” 😉
The buttons I have in my post were enabaled as way using your solution.

I was able now to modified your solution to the following:

disable H1 link
.entry-title{ pointer-events:none; }

disable category tags
.entry-category{ pointer-events:none; }

Maybe this is of help for someone else.

Best regards,
Oliver

Post count: 22421

Glad it worked out!
Best of luck on your project!

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