• Resolved JodieRD

    (@jodierd)


    Hi!

    Shareaholic is working great.

    Now I want to make my own text for the headline. Found these instructions:

    I created a png image and uploaded it to Media. I then added this to my child theme:

    .shareaholic-share-buttons-heading {
         background: url(‘https://itsarubberduckieworld.com/wp-content/uploads/2014/01/Share-the-Bubbles.png') 0 0 no-repeat;
         height: 65px;
         margin-bottom: -15px !important;
    }

    I was able to use the code that was below it to get rid of the Sharing is Caring headline, but couldn’t get my own to work.
    Any clues?
    Thanks!

    https://www.ads-software.com/plugins/shareaholic/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Jodie,

    Thanks for the kind words! ??

    I was able to get your heading to show up, could you try adding this to your stylesheet again? It’s the same code but a little more specific and slightly altered height.

    .shareaholic-share-buttons-container .shareaholic-share-buttons-heading {
    background: url(https://itsarubberduckieworld.com/wp-content/uploads/2014/01/Share-the-Bubbles.png) 0 0 no-repeat;
    height: 35px;
    margin-bottom: -15px !important;
    }

    .shareaholic-share-buttons-container .shareaholic-share-buttons-heading img.shareaholic-share-buttons-heading-image {
    display: none !important;
    }

    If it doesn’t work, keep it active and let me know so I can see what it’s doing on the live version of your website.

    Sincerely,

    Andy Huang
    Shareaholic Support

    Thread Starter JodieRD

    (@jodierd)

    Hi Andy,

    I put it in my style sheet. Now I see neither “sharing…”. Isn’t that what that last part does; stops it from showing? Anyway, I left it there so you can take a peek.

    A billion thanks for your help!

    Jodie

    Is there another stylesheet you can try? Doesn’t look like those styles are getting loaded or maybe you need to clear your cache.

    Thread Starter JodieRD

    (@jodierd)

    I was using the one in WP. At your suggestion I used the one in Go Daddy and sure enough, it worked. Yay! Thanks!
    What great support!

    Thread Starter JodieRD

    (@jodierd)

    My editor gave me a heads up that the “use of !important” in the code. Should I delete it?

    Also, it doesn’t like “img” in this code.
    .shareaholic-share-buttons-container .shareaholic-share-buttons-heading img.shareaholic-share-buttons-heading-image {
    Says it’s overqualified and suggests using the line without it.

    Thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Headline’ is closed to new replies.