Archived topic
Social Icons At Bottom of Post
7 replies · Started by Ethan on July 25, 2018
My social icons show at bottom of post. But on blog homepage and archive pages they are showing up on every post. Anyway to stop that on archive type pages?
Hi there,
How are you adding them?
If you are using hooks then you can make them show on single posts only:
https://docs.generatepress.com/article/using-hooks-conditional-tags/#single-posts
If not then try this CSS:
.blog .sfsi_plus_Sicons, .archive .sfsi_plus_Sicons,
.blog #breadcrumbs, .archive #breadcrumbs {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Awesome worked (CSS) thanks!
Also same issue for breadcrumbs in same area - can you help there? (I use Yoast's)
look on page archive /business/
Edited the CSS above.
Thanks that worked on homepage but not category pages. Any ideas?
Hi there, small glitch in Leos code, the archive #breadcrumbs is missing the . so change it to .archive #breadcrumbs
Thanks!
You're welcome