?

Log in

No account? Create an account
spire。
the smooth sailing fangirl
tutorial: remove the "share this" link 
Jun 17 10
archangel
If you don't like the Share This link, or if it's just messing up your layout (ie: Spin the Record), here's how to remove it with one little code snippet:

a[st_page*="home"] {display:none;}



Voila!

Bear in mind that this will create extra padded space where the removed link used to be, unless you went in and altered the padding attribute yourself. See the second part of my linkbar tutorial for more information.

Layouts This Works With: Smooth Sailing, Bloggish, Flexible Squares, Opal

Note: I've only tested this on Smooth Sailing layouts, as I'm not sure if this link even shows up on other styles. From what I've seen it doesn't, but let me know if you see otherwise. (thanks, saifai!)
Comments 
Jun 17 10 (UTC)
THANK YOU!

That's been driving me nuts.
Jun 17 10 (UTC)
Thanks so much! I needed this. lol.
Jun 17 10 (UTC)
thank you! this had been bothering me too;;; (btw i'm using 2 of your layouts and i love them so much, they're just amazing ♥)
Jun 17 10 (UTC)
Thank you!
Jun 18 10 (UTC)
yes! i've been searching for a way to do this or even just edit the "share this!" text.

tysm!!! ^^
Jun 18 10 (UTC)
YES! THANK YOU!
(Deleted comment)
Aug 09 10 (UTC)
I peeked at your code and for some reason, you have a[stlink*="home"] instead of st_page? Replace it with what I have up there and it should work.
(Deleted comment)
Aug 09 10 (UTC)
It's probably a browser issue, then -- I just looked at your journal and it doesn't show up for me.
Aug 11 10 (UTC)
don't work for me :/
Aug 11 10 (UTC)
This fix only applies to Smooth Sailing layouts; a different snippet is needed for Minimalism. (I'm assuming this is the layout that it won't work for, that is) I'll update the post with it later.
Aug 11 10 (UTC)
i've changed to one of your layouts :) it's great but i wanted to ask 2 things.

1st: bigger font in entries
2nd: (not so important but still) how can i make it wider? perhaps even dynamically?
Sep 02 10 (UTC)
Thanks for this code! I hope you don't mind (and let me know if you do), but I linked to it in one of my entries which references changing the share ticky boxes in the comment box.
Sep 02 10 (UTC)
BTW, I've got a Bloggish layout and it worked great for me. :)
Sep 02 10 (UTC)
Thanks for letting me know! I added that to the entry. :)
Sep 02 10 (UTC)
A million thank you's to you and saifai! That stupid "Share This" was bugging me to no end!

P.S. I'm using Smooth Sailing, works for me!

Edited at 2010-09-02 09:01 pm (UTC)
Sep 03 10 (UTC)
Thank you for this little code! So helpful!
Sep 03 10 (UTC)
I'm using Swimmingly (I think?) and both code fixes for Share This and cross posting to twitter and FB worked fine on my page as far as I can tell. Thanks so much. ^_^

~FM :)
Sep 04 10 (UTC)
I haven't found any code that works with the Disjointed layout.
Sep 04 10 (UTC)
Just an FYI. I've had reports from friends that it works with Flexible Squares and Opal layouts as well. :]
Oct 12 10 (UTC)
Wow, just found your journal, and I'm going to start watching it for all the good info you share. Someone told me to use

.entryLinkbar a[st_page="home"] {display:none}

which is working on my Smooth Sailing layouts. (I guess that first thing is not necessary...)

But what I wanted to tell you is that if someone has the 'No-scripts' add-on for their browser, then "Share this!" will reappear. So this workaround doesn't get rid of "Share this" 100%, unfortunately. Just thought I'd pass that along.
This page was loaded Sep 17th 2019, 11:23 am GMT.