Support » Plugin: Simple Share Buttons Adder » CSS in html of each page possible error?

  • Resolved solosails


    Hi David,

    Thanks for plugin, it’s great.

    If I look at the source of my website, there is at the top a style embedded in the HTML called .ssba

    This isn’t so much the problem (although I would like to defer this to the bottom), but near the end of the style code, there is a commented out line of code referring to Google JS link which I think is coming from your plugin? Could you take a look? Thanks

    My website is

    Thanks, Andrew

    <style type=”text/css”> .ssba {
    padding: 0px;

    .ssba img
    width: 35px !important;
    padding: 6px;
    border: 0;
    box-shadow: none !important;
    display: inline !important;
    vertical-align: middle;
    .ssba, .ssba a
    background: none;

    font-size: 14px;

    font-weight: light;
    }</style> <!–[if lt IE 8]>
    <script src=””></script>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Simple Share


    Hi Andrew,

    Glad you like the plugin!

    The CSS code you are referring to is best placed within the HEAD of your pages, which is where it is, if it were JavaScript I would agree however.

    The commented out bit you have posted shan’t have been generated by Simple Share Buttons, although I can understand why you’d think that as they sit alongside each other 🙂

    That most likely comes from your theme:

    IE7.js is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser.

    Hope the helps 🙂

    Hi there David,

    Thanks for your reply.

    OK, I’ll try and hunt down where it’s coming from!.

    PS, on this subject, is there anyway I can copy that css style into my theme style and save on a bit of processing etc to bring up yours?

    Cheers, Andrew

    Plugin Author Simple Share


    Hi Andrew,

    Don’t be concerned, that kind of thing is pretty standard to bring old browsers up to speed.

    All settings are retrieved in a single database query and processed within the script very quickly. It could potentially shave of a fraction of a second doing this but the way the plugin is written would need to be updated, and those without knowledge could be left without the ability to custom style things using the admin panel settings.


    Thanks again.

    Tracked it down to the Ubermenu plugin.

    Thanks for your help., Andrew

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS in html of each page possible error?’ is closed to new replies.