Posts links not working
-
Hi, I had in my theme a title that appear over posts pictures – and I removed it because my pictures already have text in them…
now when I removed the text it removed also the link to the post – it seems that the picture isn’t clickable – only the title (which I removed)
I really dont want the titels and want only the pictures I added how can I make them clickable?
here is the link: https://kahol.co.il/%D7%94%D7%90%D7%9D-%D7%97%D7%99%D7%99%D7%91-%D7%90%D7%95%D7%AA%D7%9A/%D7%9E%D7%90%D7%9E%D7%A8%D7%99%D7%9D-%D7%97%D7%93%D7%A9%D7%99%D7%9D/fetaured image aren’t clickable… thanks!
The blog I need help with is: (visible only to logged in users)
-
Hi @moshekahol,
Firstly, you’ll need to remove the following CSS that’s hiding your titles:
.type-post .entry-title { display: block; }We’ll then replace the above with the following snippet:
.site-content-wrapper .has-post-thumbnail .entry-header-wrapper { position: static; } .site-content-wrapper .has-post-thumbnail .entry-header { position: relative; } .site-content-wrapper .has-post-thumbnail .entry-header-wrapper a, .site-content-wrapper .has-post-thumbnail .entry-header-wrapper a:hover { color: transparent; text-shadow: none; position: absolute; top: 0; left: 0; width: 100%; }The replacement snippet will change the colour of your post titles to transparent, so that they can’t be seen but can still be clicked on. It will also increase the width of the link to take up 100% of the thumbnail area, so that visitors can click anywhere and on the thumbnail to be taken to your post.
Let me know if that helps you out or if you have any extra questions.
- The topic ‘Posts links not working’ is closed to new replies.