Location Switch CSS issue?

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 6 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #445827

    coreyhammond
    Full Member
    Post count: 58

    Both of the location shortcodes (main and tabbed) are showing as ‘invisible’ or white.

    https://wpgeo.restorationlocal.com/gd-home/

    Is there a way to limit the location tab switcher to just the regions/states?

    #445840

    Guust
    Moderator
    Post count: 29970

    You have this CSS that turns all links to white:

    .textwidget a {color: #ffffff;}

    Set GD > Multilocations > GEO DIRECTORY LOCATION SETTINGS > Country > Enable default country (country drop-down will not appear on add listing and location switcher).
    That will make the Country option disappear.

    Try this CSS to make the city selector disappear.

    [data-location="city"]{display:none;}

    Thanks

    #445878

    coreyhammond
    Full Member
    Post count: 58

    CSS for the city selector disappearing didnt work:

    https://wpgeo.restorationlocal.com/location/united-states/connecticut/

    Is there a way to just not load it? I’d prefer not to just hide it, but not load the cities at all?

    #445889

    Guust
    Moderator
    Post count: 29970

    I guess you want it for the Location Switcher, not the Location Switcher Tab.
    Try this CSS:

    [data-type="city"]{display:none;}

    Cities only cannot be prevented from loading.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount