The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to hide the Share button?

2 posters

Go down

Solved How to hide the Share button?

Post by sisterval Thu 9 Apr - 11:30

I have read through the Topics on How to hide the Share button and tried the following but it is giving me an error when I put it in Admin, Display, Colors, CSS Stylesheet and press submit, please can someone help?:-

Code:
#fa_share { display:none !important }
avatar
sisterval
Forumember

Posts : 25
Reputation : 1
Language : English

Back to top Go down

Solved Re: How to hide the Share button?

Post by Ange Tuteur Thu 9 Apr - 11:33

Hi,

If you're having an error, could you post the entire contents of your stylesheet here ? The rule you posted appears fine, so it's definitely not that.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to hide the Share button?

Post by sisterval Thu 9 Apr - 11:39

Very many thanks for your prompt reply, my CSS Stylesheet is as follows:-
img.smiley {
width: auto !important;
height: auto !important;
}
div.sceditor-emoticons {
  overflow: auto;
  max-height: 200px;
  max-width: 250px;
}
.sceditor-emoticons > div > img{
  width:0px !important;

      #fa_share { display:none !important }
avatar
sisterval
Forumember

Posts : 25
Reputation : 1
Language : English

Back to top Go down

Solved Re: How to hide the Share button?

Post by Ange Tuteur Thu 9 Apr - 11:45

Replace it with this and you should be good. Wink
Code:
img.smiley {
  width: auto !important;
  height: auto !important;
}

div.sceditor-emoticons {
  overflow: auto;
  max-height: 200px;
  max-width: 250px;
}

.sceditor-emoticons > div > img { width:0px !important }
#fa_share { display:none !important }

The problem was that this rule was missing a closing brace.
Code:
.sceditor-emoticons > div > img {
  width:0px !important;
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to hide the Share button?

Post by sisterval Thu 9 Apr - 11:53

Very many thanks once again for your prompt reply.  I did as you said and it is still giving me an error?

http://petsparlour.friendhood.net/login
avatar
sisterval
Forumember

Posts : 25
Reputation : 1
Language : English

Back to top Go down

Solved Re: How to hide the Share button?

Post by Ange Tuteur Thu 9 Apr - 11:59

You copied this entire code, correct ?
Code:
img.smiley {
  width: auto !important;
  height: auto !important;
}

div.sceditor-emoticons {
  overflow: auto;
  max-height: 200px;
  max-width: 250px;
}

.sceditor-emoticons > div > img { width:0px !important }
#fa_share { display:none !important }

I may have seen it wrong, but it looks like the top of the first rule was cut off. blackeye
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to hide the Share button?

Post by sisterval Thu 9 Apr - 12:06

Whoop, whoop cheers , thankyou so much it has now accepted it.  Thankyou so much for your time.
avatar
sisterval
Forumember

Posts : 25
Reputation : 1
Language : English

Back to top Go down

Solved Re: How to hide the Share button?

Post by Ange Tuteur Thu 9 Apr - 12:13

You're welcome. Smile

Topic archived

Have a nice day. ^^
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum