WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
[resolved] Display address missing spaces (6 posts)

  1. plumindustries
    Member
    Posted 1 year ago #

    Since the upgrade to 3.8.8 the addresses displayed under the map are missing spaces for e.g. Roomies Artspace 142 Addison Road,Marrickville, NSW, 2204Australia

    Missing space between 'Road,Marrickville', and '2204,Australia'. How can this be corrected?

    http://wordpress.org/extend/plugins/store-locator-le/

  2. IceTurtle4
    Member
    Posted 1 year ago #

    I am having this same issue... spacing all runs together, including telephone number... been trying to fix in CSS but can't seem to make the proper adjustment. Any help would be appreciated!

  3. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Set your CSS for those DIV IDs to width: 100% and display:inline-block.

    The CSS and themes (Pro Pack) should do this for you, however some themes take over all div formatting and can break the default CSS that is included.

    Every element of the address in the results has its own div class & ID to give more control over the results format.

    If that does not work for you the Enhanced Results premium add-on has a "results string" entry where you can create your own output format exactly as you want it:
    http://www.charlestonsw.com/support/documentation/store-locator-plus/enhanced-results-add-on/

  4. plumindustries
    Member
    Posted 1 year ago #

    Set your CSS for those DIV IDs to width: 100% and display:inline-block.

    And how do we do this?

    The spacing was okay before the upgrade.

  5. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    If you have Pro Pack you can set the CSS under General Settings or by editing your selected Pro Pack theme file (in ./css/).

    The results formatting was changed because it was too restrictive using fixed spaced table cells. This makes it nearly impossible to work with a number of new WordPress themes especially responsive themes that tend to use CSS and DIVs. That is the preferred methodology for page structures these days. Without making that change the plugin would not work for many newer themes. It also makes it very difficult for other developers or site designers to move results listings around to their liking.

    Of course with any change some of the 500,000 themes and 50,000 plugins out there will not work as well.

    If the updates don't work with your theme/plugin mix you can always revert to the prior release here:
    http://wordpress.org/extend/plugins/store-locator-le/developers/

  6. plumindustries
    Member
    Posted 1 year ago #

    In the CSS, under General Settings, I added the following:

    span.slp_result_address {
    width: 100%;
    display: inline-block;
    }

    This worked for me, thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.