joomlart template css override issue

  • Posts: 490
  • Thank you received: 2
3 years 8 months ago #330532

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

hi

im using joomlart event template.

i am customising css and declaring it on frontend_custom.css unfortunately the template is not inhering the overrides.

what i did to make it work was to add my overrides in the template custom.css file.

i was just wondering why hikashop css overrides are not working.

BTW my template is BS4

thanks

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 8 months ago #330537

Hi,

It's a good idea to add your CSS in the custom.css of your template.
If you can, it's best to keep using the default of the frontend CSS of HikaShop so that the get the new CSS code we add for each new version of HikaShop (for the new features, etc).

The CSS you added in the frontend CSS of HikaShop was probably overridden by your template CSS as it is loaded after it on your pages while the custom.css of the template is loaded after the template's CSS. That can usually be overcome with !important but it you can not use !important it's even better.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum