Support » Plugin: WP Store Locator » CSS loading in the footer

  • Resolved polyfade

    (@polyfade)


    Even though it’s set to false in class-frontend.php the stylesheet seems to be loading just before the </body> closes, but should be loading inside the <head>

    This makes it impossible to override the WP Store Locator’s styles without using a lot of !important css declarations.

    I am referring to this line (Line 176 in class-frontend.php which prints:
    <link rel='stylesheet' id='wpsl-css-css' href='[path of my site]/wp-content/plugins/wp-store-locator/css/styles.css?ver=3.9' type='text/css' media='all' />

    https://wordpress.org/plugins/wp-store-locator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Which theme are you using? I just checked it in some of the default wp themes, and there it does load inside the head tag.

    Tijmen, I’m using TwentyTwelve with WP 3.9.1, no other plugins activated and no alteration to the theme or this plugin via functions.php or otherwise.

    I double checked. It’s loading the style sheet just before the <body> ends rather than inside the <head>.
    Styles

    I also tried installing a fresh install of this plugin (v1.2.21) on a different WP install using the TwentyFourteen theme. Getting the same result. BTW, I’m using the shortcode on a page, not post if that makes a difference.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS loading in the footer’ is closed to new replies.