Jump to content

custom.css rules don't override style.css rules


dxt

Recommended Posts

Hi

I'm trying to override a rule in style.css using custom.css as it is recommended by WHMCS developers, but as you can notice on the capture bellow from  the developer tool  the rule is not override as expected, could you please tell  me what it is wrong?

 

css-overwrite.png

 

this my custom.css configuration

customcss.png

Link to comment
Share on other sites

16 hours ago, dxt said:

!important has worked,  I thought there would be another solution as they are many to not recommend using !important  on CSS rules 

i've seen those articles too - but with WHMCS, and the way it's CSS files are called, it's far simpler to use !important than to reorganise them to remove the need.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated