• wpfiend

    (@wpfiend)


    Hello.

    I want to hide the name of the location only in the left column on the map page. The map is displayed on the right and the details of each location is displayed on the left. I do not need the location name displayed for each location. Just the address and the other details. I do not want to remove the location title on the EDIT page as that will also remove it from the popup on the map.

    This is the HTML that I somehow need altered to remove or hide the words “Location 1”.

    <div class="wpsl-store-location">
    <p>
    <strong>Location 1</strong>
    <span class="wpsl-street">123 Pinehurst Street</span>
    <span class="wpsl-street">Suite 23</span>
    <span>Tannin KY 39403</span>
    </p>

    Thanks in advance.

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

    (@tijmensmit)

    The easiest way to do this is with a CSS rule.

    #wpsl-stores li p strong { display: none !important; }

    Add this in the admin area on the appearance -> customize -> additional css page.

    Thread Starter wpfiend

    (@wpfiend)

    Appreciate the response. That almost worked.

    I changed it to this:
    #wpsl-stores li p > strong { display: none !important; }

    Otherwise, other labels were also getting hidden, e.g. Phone and Email

    Let me know if you see a better way of doing this.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Name of location in the left column on map page’ is closed to new replies.