How to show Image in cart module?

  • Posts: 72
  • Thank you received: 5
4 years 10 months ago #315025

-- url of the page with the problem -- : nieuw.megiq.com/shop

I would like to display the image of the shopping cart in the cart module (module is in the left bar).
The shopping cart is indeed displayed on the old website ( www.megiq.com/shop ), but not on the new test website ( www.nieuw.megiq.com/shop ).

How can I show the shopping cart on the new test website?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 10 months ago #315026

Hi,

Your previous website had some custom CSS added to it in order to add that icon:
monosnap.com/file/rkLrGqlwQfsV28Sc28rJUGdD76BsJR

However, with your new template, there is no such CSS:
monosnap.com/file/veDFibUDR4oDJOkyU8fwOEIh54tCr5
And what's worst is that the classes available in the HTML for the display of the module title (which is done by your template), doesn't allow you to distinguish between the different modules you have.
So even if you add a similar custom CSS there, the icon would appear both for the cart module and the contact MegiQ left module.
So I would recommend to first check with your template provider what can be done to be able to add custom CSS to one specific module with their template. They'll probably have to provide you with some code change in the template files.

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

  • Posts: 72
  • Thank you received: 5
4 years 9 months ago #315069

Oké, i will check the template Developer.

But wich part of the css generates the image of the cart? Is that

content: "\f07a";
?

Last edit: 4 years 9 months ago by mlehr.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 9 months ago #315073

Hi,

Yes. This adds a special character before the cart title which is converted by the font used on that character to an icon (with font-awesome: fontawesome.com/ )

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

Time to create page: 0.055 seconds
Powered by Kunena Forum