Support » Plugin: Locations » Locations – Phone title & number spacing

  • Resolved iambob

    (@iambob)


    Greetings,

    I’m using the shortcode in a sidebar widget and it looks fine except for the spacing between Phone: (and the number) 123-555-1212 … this large gap causes the last couple of numbers to not show within the widget field (250 px).

    How can I reduce this space or drop the numbers below the Phone: title?

    Thanks!

    https://wordpress.org/plugins/locations/

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

    (@richardgabriel)

    Hey there!

    Is there a place I can see this in action?

    It sounds like you will need to use CSS to fix it.

    Best,
    Richard

    Oops, forgot that part! http://wtaz.smoothgrind.net – 6th widget down on right sidebar. Thanks Richard!

    Plugin Author richardgabriel

    (@richardgabriel)

    Hey!

    Change the following CSS:

    .locations .location {
        border: 1px solid #DDDDDD;
        border-radius: 8px;
        display: inline-block;
        margin: 0 20px 25px 0;
        min-width: 230px;
        overflow: hidden;
        padding: 25px;
    }

    To something like this:

    .locations .location {
        border: 1px solid #DDDDDD;
        border-radius: 8px;
        display: inline-block;
        margin: 0 20px 25px 0;
        min-width: auto !important;
        overflow: hidden;
        padding: 25px;
    }

    And you should be set. The issue is the “min-width” property in our plugin is higher than the allowable width in your sidebar.

    Are you able to make this change? I recommend doing so in the theme, instead of the plugin’s CSS file, so that your change isn’t overwritten via an update.

    I hope that helps!

    Best,
    Richard

    Plugin Author richardgabriel

    (@richardgabriel)

    Hello!

    Just touching base on this. I’m going to mark this resolved as I believe I have answered the question.

    Let me know if you need anything else.

    Thanks!
    Richard

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Locations – Phone title & number spacing’ is closed to new replies.