WP Store Locator
[resolved] CSS loading in the footer (4 posts)

  1. polyfade
    Posted 2 years ago #

    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' />


  2. Tijmen Smit
    Plugin Author

    Posted 2 years ago #

    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.

  3. polyfade
    Posted 2 years ago #

    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>.

  4. polyfade
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Store Locator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic