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.
The forum of the forums
2 posters

    How to hide the Share button?

    avatar
    sisterval
    Forumember


    Posts : 25
    Reputation : 1
    Language : English

    Solved How to hide the Share button?

    Post by sisterval Thu 9 Apr - 8: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 }
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: How to hide the Share button?

    Post by Ange Tuteur Thu 9 Apr - 8: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.
    avatar
    sisterval
    Forumember


    Posts : 25
    Reputation : 1
    Language : English

    Solved Re: How to hide the Share button?

    Post by sisterval Thu 9 Apr - 8: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 }
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: How to hide the Share button?

    Post by Ange Tuteur Thu 9 Apr - 8: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;
    avatar
    sisterval
    Forumember


    Posts : 25
    Reputation : 1
    Language : English

    Solved Re: How to hide the Share button?

    Post by sisterval Thu 9 Apr - 8: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
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: How to hide the Share button?

    Post by Ange Tuteur Thu 9 Apr - 8: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
    avatar
    sisterval
    Forumember


    Posts : 25
    Reputation : 1
    Language : English

    Solved Re: How to hide the Share button?

    Post by sisterval Thu 9 Apr - 9:06

    Whoop, whoop cheers , thankyou so much it has now accepted it.  Thankyou so much for your time.
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: How to hide the Share button?

    Post by Ange Tuteur Thu 9 Apr - 9:13

    You're welcome. Smile

    Topic archived

    Have a nice day. ^^

      Current date/time is Sun 22 Sep - 14:26