CSS editing? whats best? external file or hikashop

  • Posts: 20
  • Thank you received: 4
10 years 11 months ago #103001

hi again,

whats the best way to edit the hikashop css? through 'components > hikashop > configuration > css or through an external css file in my template folder?


cheers

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
10 years 11 months ago #103023

Hi,

It depends on what you want to do.

With template CSS, you can only add new css rule. You will override by addition (or replacement).
With hikaShop custom css, you can add, modify and remove some existing rules. You custom css will change change with updates which have the effect to not have the new CSS rules of the default hikashop file.

You can have a sort of mix with css import, if your custom css just contains:

@import url('frontend_default.css');
But it will be the same than template css (you won't be able to remove some existing rules, just add/replace them).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum