Archived topic
Excerpt set to 0 but showing "..." & post styling.
4 replies · Started by Christian on October 18, 2019
Hello,
I have set the excerpt length to 0, but now it shows "...". I have tried disabling some options in WP but I did not get it right.
I have searched and found that it can be hidden through CSS, but that is not good for SEO. Is there a fix or an option that does not hurt SEO and hids the "..."?.
On the other hand, and using this post for it, I would like to know if there is a way of showing the posts as in the image attached. I mean offsetting the image and setting the post style as more or less as in the picture.
Style: Styling example
Thank you very much.
Hi there,
Hiding the dots with CSS shouldn't hurt the SEO. Here is the CSS:
.entry-summary p:not(.read-more-container) {
display: none;
}
As for moving the featured image, that would require quite a bit of custom coding to make it work with the columns gap etc. If you decent with CSS and feel like tacking it, this should help to get started:
.post-image-above-header .inside-article .post-image {
margin-top: -50px;
}
Let me know if this helps :)
Hi there,
currently the CSS option is the easiest way of doing this - i can't see that hiding the content would be a problem for SEO.
Try this CSS to shift the image over the top of the article container:
.post.generate-columns {
padding-top: 50px;
}
.post-image-above-header .inside-article .post-image {
margin-top: -60px;
}
Hi guys!
Regarding the SEO topic is because for SEO I will write an excerpt but I will not be showing it, and apparently you cannot hide things. But honestly, it's information I've read... I am not an expert by any means. I will actually believe you haha.
Thanks for the CSS Styling both, It worked!
If the Excerpt is not being displayed then it won't be picked up by the search engines anyway :)
Glad to be of help.