• This plugin is awesome. Works perfectly out of the box, the add-ons are an excellent value, and it’s very easy to style via custom CSS. 5 stars. I’m very thankful!

    Note: if you’re having trouble modifying layout, simply copy one of the CSS files from the plugin’s folder (/wp-content/plugins/store-locator-le/css by default) and use that as a guide for your own CSS.

    This approach might not be future-proof, as the HTML the plugin generates may change following plugin updates, but it’s a good way to get started. The markup this plugin generates is quite well organized and easy to style within reason.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lance Cleveland

    (@charlestonsw)

    I try to keep future upgrades from breaking things. This is why the layouts use shortcodes to drop data on the search, results, map info bubble, and general page layout.

    Take a CSS file in the directory, rename it, and modify the header. The header can contain extra layout data. This creates a modified CSS format that I call a Store Locator Plus Theme. If a future upgrade, or errant user input for that matter, changes the layout you should be able to use the User Experience / View “Change Layout” button to read in the CSS header options and apply them to the site to restore your setup.

    Thread Starter timrourke

    (@timrourke)

    Any way you’d recommend disabling the enqueueing of the plugin’s theme stylesheet? I usually try to integrate as much css as possible to reduce HTTP requests. Hence the approach I’m using to integrate the plugin theme CSS into my own theme’s stylesheet.

    Thanks!

    Plugin Author Lance Cleveland

    (@charlestonsw)

    And here are the docs (just updated) on theme/CSS files. I noticed the newer options in the header were not explained.

    https://www.charlestonsw.com/support/documentation/store-locator-plus/user-experience/view/themes-custom-css/

    The enqueue is built into the plugin startup. There is a blank theme that is very light weight. Yes, it still loads a CSS file but it is the smallest file in the themes you can get with almost zero CSS rules.

    You should find that any JavaScript, CSS, or even PHP code should only load when necessary. Front-end CSS/JS on the pages with [slplus] shortcodes active. Admin CSS/JS on pages related specifically to managing SLP. I always strive to have the smallest footprint at all times to improve site throughput whenever possible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Awesome plugin, great value’ is closed to new replies.