TSI - Hide Directions For Select Locations

OPTION 1 /*DESKTOP ADJUSTMENT*/ #_the_map_wrapper > div > div.b2b-location-items-container > div > div > ul > li:nth-child(2) > div.b2b-location-basic-info > a.b2b-location-get-directions.color_bodylinks, #_the_map_wrapper > div > div.b2b-location-items-container > div > div > ul > li:nth-child(3) > div.b2b-location-basic-info > a.b2b-location-get-directions.color_bodylinks, #_the_map_wrapper > div > div.b2b-location-items-container > div > div > ul > li:nth-child(4) > div.b2b-location-basic-info > a.b2b-location-get-directions.color_bodylinks {display:none!important;} /*MOBILE ADJUSTMENT*/ ul#mobile-location-1.mobile-multi-locations.modal_list li.tsi-address a {display:none!important;} ul#mobile-location-2.mobile-multi-locations.modal_list li.tsi-address a {display:none!important;} ul#mobile-location-3.mobile-multi-locations.modal_list li.tsi-address a {display:none!important;} OPTION 2 /*DESKTOP ADJUSTMENT*/ li.show-details > div:nth-child(1) > a:nth-child(4) {display: none !important;} .b2b-location-items > ul:nth-child(1) > li:nth-child(1) > div:nth-child(1) > a:nth-child(4) {display: none !important;} /*MOBILE ADJUSTMENT*/ #mobile-location-0.mobile-multi-locations.modal_list li.tsi-address {display: none !important;}
https://cl.ly/47190D21072Y

If the options below do not work:
* Right click "DIRECTIONS" in the Location Map and choose "Inspect with Firebug".
* Next right click and choose "Copy>CSS Selctor" - then drop that in with display: none !important; (See image below)

https://cl.ly/1J2o2h173F0b

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.