how to fix social media plugin icons

  • Posts: 490
  • Thank you received: 2
3 years 2 weeks ago #331540

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9
-- PHP version -- : 7
-- Error-message(debug-mod must be tuned on) -- : none

hi

how do i fix the social media icons? i want to make it all of equal height and length.

i added an example

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
3 years 2 weeks ago #331543

Hi,

For me they already have the same height:
i.imgur.com/GrtTs56.png
Note however that the icons the HikaShop social plugin displays are not static. They are displayed by the social network's javascript dynamically and thus the image itself comes from the social network and cannot be styled much.

If you want images like on your screenshot, then you want static links. You can simply add their HTML in the product / show_default.php view override via the Display>Views menu.
Here is a page which talks about all this:
stackoverflow.com/questions/2954888/how-...a-link-not-an-iframe
And in the answer from "Yevgeniy Afanasyev" there, you can see an example of a static link HTML you can use for yourself.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum