Thread: Custom CSS??
View Single Post
  #2  
Old 08-12-2015, 11:49 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Custom CSS??

Hello!

I believe the problem is that your custom CSS rules are loaded before the CSS rules from the theme, so rules from the theme get a higher "specificity" and override your rules.

What you can do is add extra tags or classes to the rules to increase their specificity. For example, use "html body" instead of just "body".

You can read more at https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote