Social media icons and information layout

2 years 7 months ago #3479 by ConsultPW
Hi,

Installed Store Locator with no problems - great component!

Is there a way that I can improve the layout of the way the address is displayed? Putting it in one line results in odd layout with postcodes etc.

Also, can the social media icons be displayed horizontally rather than vertically. There are large gaps and they take up space in the listing.

Many thanks.
Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #3484 by sysgenmedia
Replied by sysgenmedia on topic Social media icons and information layout
Hi, thanks!

For the icons, thats not the original intended look, so either the CSS file didn't get loaded or your own CSS is modifying the look a bit... However the address would still be on one line.

So to adjust the icons, you'll need to inspect and adjust your css to see why thats happening.

As for the Address, you can modify the layout in the /components/com_storelocator/assets/map.js file and look for where the address is printed. Then you can separate it as needed. i.e. do a JS replace of ", " with "<br>"

Please Log in or Create an account to join the conversation.

More