- Posts: 490
- Thank you received: 2
joomlart template css override issue
5 years 6 months ago #330532
by ronron
joomlart template css override issue was created by ronron
-- 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
-- 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.
5 years 6 months ago #330537
by nicolas
Replied by nicolas on topic joomlart template css override issue
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.
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.185 seconds