How to change filters padding margin css...

  • Posts: 386
  • Thank you received: 7
  • Hikashop Business
4 years 3 months ago #314951

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : filters css where to adjust??

Hello we made dynamic filters for a shop but as you can see



How and where can we adjust this i can not find it anywhere in the css??
Thanks

Attachments:

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
4 years 3 months ago #314960

Hi,

Here is a documentation which explains how to add your custom CSS to the HikaShop CSS:
www.hikashop.com/support/documentation/1...ize-the-display.html

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

  • Posts: 386
  • Thank you received: 7
  • Hikashop Business
4 years 3 months ago #314999

Hello,

I am familiar with the css.. the problem is that i cannot apply any css on the filter boxes in the red box?? above? cannot find them also in the css files?
With element inspection i see this line:
<div class="hikashop_filter_main hikashop_filter_main_Maat_1" style="min-height:100px; float:left; width:24%;">
But then i need to adjust the style??

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

  • Posts: 4519
  • Thank you received: 612
  • MODERATOR
4 years 3 months ago #315001

Hello,

If I may, modifying our css code isn't a good way,we do not recommend it, because if you want go back this will be more difficult, plus you risk impacting other pages that you are not targeting.

The best way is :
1. To add your custom css command at the end of the css file, you will then have a priority gain.
2. Create a selector with more id & class to override our default command.
3. Use some "!important" if the previous instructions were not enough.

Hope this will help you.
Regards

Last edit: 4 years 3 months ago by Philip.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum