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 April 9th 2015, 10:30 am

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 April 9th 2015, 10:33 am

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 : 13207
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 April 9th 2015, 10:39 am

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 April 9th 2015, 10:45 am

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 : 13207
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 April 9th 2015, 10:53 am

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 April 9th 2015, 10:59 am

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 : 13207
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 April 9th 2015, 11:06 am

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 April 9th 2015, 11:13 am

You're welcome. Smile

Topic archived

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

Male Posts : 13207
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