Showing Share buttons on single posts only
-
Hello!
Because I prefer my homepage to look clean, I have removed my Share buttons, leaving only the “Like” button at the bottom of the posts. I don’t even like there to be a single “Share” button, with all icons hidden behind it. A little OCD, I know.
However, what I really want to do is to keep them hidden only on the homepage while displaying a line of Share buttons when single posts are viewed.
Could that be accomplished using CSS magic?
Thanks!
The blog I need help with is: (visible only to logged in users)
-
If you want sharing buttons only on the single post pages, in your dashboard go to Settings > Sharing and uncheck all but “Posts” and that should do it for you.
-
Unfortunately, when I do that, what happens is that the “Like” Button also disappears from the homepage…and I prefer for that to stay…
-
The following CSS should hide the sharing buttons on the homepage but not on the individual posts page:
`.blog .robots-nocontent.sd-block.sd-social.sd-social-icon-text.sd-sharing {
display: none;
}Could you try and let me know if this CSS works as expected?
-
Oops, missed formatting. Use this instead.
.blog .robots-nocontent.sd-block.sd-social.sd-social-icon-text.sd-sharing { display: none; }
-
-
- The topic ‘Showing Share buttons on single posts only’ is closed to new replies.