• Resolved solosails

    (@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 http://www.solosails.com

    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
    {
    text-decoration:none;
    background: none;

    font-size: 14px;

    font-weight: light;
    }</style> <!–[if lt IE 8]>
    <script src=”http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js”></script&gt;
    <![endif]–>

    https://wordpress.org/plugins/simple-share-buttons-adder/

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

    (@davidoffneal)

    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.

    https://code.google.com/p/ie7-js/

    Hope the helps 🙂

    Thread Starter solosails

    (@solosails)

    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

    (@davidoffneal)

    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

    Thread Starter solosails

    (@solosails)

    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.