CSS can’t be overwritten, no matter how ; WordPress with responsive style_options.php

So my problem is awkward, I have a WordPress website on which I can’t overwrite CSS. On which I’ve added a google font.

The problem is that sometimes when I want to overwrite a CSS using either a id and class selector, or embeding style into html, the font get’s always overwritten.

Read More

How to overwrite css (font-face) which is coded in css in style_options.php which generates options.css.

Did anybody solve this problem already?

Thank you for answers!

Related posts

Leave a Reply

1 comment

  1. Strictly speaking, if you want your attribute not to get overwritten, you need to use !important like so:

    p {
        color: blue!important;
    }
    #myid {
        color: red;
    }
    <p id="myid">This text is blue.</p>
    

    But i think you should check in your theme’s option, there’s gotta be some way to edit within wordpress such things as the font. (thanks Vineet Kaushik for pointing that out)