Edit the page node and add this to the top of the template html input box.
Code:<xf:css> .blockMessage .shareButtons { display:none; } </xf:css>
That depends how many pages you want it to be applied to, if you want it globally across the entire site then extra.less is fine, if it's just on certain pages then it is better applied to the node itself.
Hello,can somone explain for beginners where to put this please?
I tried to put it in V.2.1.1 in the EXTRA.LESS but it does not vanish
EXTRA.less
:.blockMessage .shareButtons {
display: none;
}
This code is not for this, this code hide the block "Share" below the editor :just tried it, still there is this SHARE THIS THREAD on each post, the same as on this forum here, see below which I have marked with a circle.
View attachment 198470
I'm re-launching an old version and want to remove all share buttons to make it private. I only see "extra.css" in the templates. Where would I find "extra.less" to apply it globally across the entire site?That depends how many pages you want it to be applied to, if you want it globally across the entire site then extra.less is fine, if it's just on certain pages then it is better applied to the node itself.
I'm trying to remove all share buttons. Did you ever figure out how to do this?This code is not for this, this code hide the block "Share" below the editor :
View attachment 198471
Brogan, I'm very confused. Can you please help? I'm re-launching an old version and want to remove all share buttons to make it private. I only see "extra.css" in the templates. Where would I find "extra.less" to apply it globally across the entire site?The extra.css template is the XF2 equivalent of extra.less.
They do the same thing.
However XF2 code may not work in XF1, if the class names have changed.
Ok Brogan, I understand.I don't have access to an XF1 installation any longer so I don't know what the code would be.
We use essential cookies to make this site work, and optional cookies to enhance your experience.