Reply To: Relocating Display On Business Listing Details Page

#260977

Giri
Expired Member
Post count: 3155

Try replacing my old code with this one for address


#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="streetAddress"] {display: 
block;}
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="streetAddress"] +br {display: none;} /* Adds a line break after the street address */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"] {display: initial;} /* Makes the city show */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"] +br {display: none;} /* Makes the city show */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressLocality"]:after {content: ", ";} /* Adds a comma and a space after the city */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressCountry"] {display: none;} /* Makes the country show */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"] {display: initial;} /* Makes the region show */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"] +br {display: none;} /* Makes the region show */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="addressRegion"]:after {content: ", ";} /* Adds a comma and a space after the city */
#gd-sidebar-wrapper .geodir_more_info.post span[itemprop="postalCode"] {display: initial;} /* Makes the postcode show */

Popular category works fine when testing with desktop browser. If it doesn’t work in mobile, try increasing viewport size.

I have used 468px. Make it 568px and try