Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12093

    I’m trying to style the tabs using CSS. The problem is even when I create my styles in custom.css they are still being overwritten by styles being added to the actual pages which are based on the rules set for the overall site appearance.

    I can change some css rules with custom.css, but there are a few that get overwritten like the borders. How can I prevent this from happening?

    #74229

    Hi,

    If you want to avoid your CSS code from being overwritten, try to add the !important after each CSS code that you made.

    Code:
    h1 {
    font-size: 12px!important;
    }

    The above code is just an example of using !important. Hope this helps. :)

    Regards,

    Ismael

    #74230

    Thanks, I’ll try that. I did achieve what I wanted by removing the tab styles from dynamiccss.php, but obviously that’s not the best way of doing things. :)

    #74231

    Hi Oakland,

    Yes, it is better to put your custom code in Quick CSS or custom.css.

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Disable CSS for tabs’ is closed to new replies.