• Resolved David_G

    (@questas_admin)


    How would I override the theme when it has an “!important” statement built in?
    Here is what the theme is using.

    fpc-marketing .fpc-widget-front h2, .fpc-widget-front > p {
        color: #0012dd !important;

    I want different colors for the h2 and p tags. I tried using the “!important” statement in my child theme but it won’t work. Any Ideas?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Try adding more specific html selectors as well as adding !important

    Thread Starter David_G

    (@questas_admin)

    What I used is the same as above along with !important. However my !important isn’t overriding the theme’s !important. Too bad there isn’t a !more-important command to use.

    Theme Author presscustomizr

    (@nikeo)

    You may try to use !important inline style which is more important than css style.
    cheers

    Thread Starter David_G

    (@questas_admin)

    I will check it out. Thanks Nikeo

    Thread Starter David_G

    (@questas_admin)

    I do not understand how you would use the INLINE STYLE within the style sheet

    Thread Starter David_G

    (@questas_admin)

    I figured it out, Use html within the “Customize > Featured Pages > Featured Pages Selection > Featured Text” to change the color of the <p> text. It worked.

    <P style="color: fuchsia">This is the text below the Featured page title

    NOPE – It didn’t work, It showed right with the customize screen open but when I viewed it withing the browser (outside of dashboard) the text disappeared.

    Why is there an !important command on the core Style Sheet anyway? It kills customizing.

    Thread Starter David_G

    (@questas_admin)

    Got it fixed and what I want. First cancel the color on the customize bar, then you can use css to edit your colors.
    Just in case anyone is watching this thread and wants to do this.

    I am new to CSS but have recently found out that using !important may not be such a good thing in the long run

    It should be a last resort if you can’t find a more specific selector. This is an interesting thread from @questas!

    Thread Starter David_G

    (@questas_admin)

    Here is the end result of my labors. Just a site I am playing around with. Whats the verdict? does it look good?

    SITE LINK

    looks good man looks different

    The only thing are the blue and red titles, looks like I need 3d glasses to read makes me a bit dizzy but that just may be me.

    Thread Starter David_G

    (@questas_admin)

    I changed the shadow settings a little, is this better?

    I would Advise you to read up on The net on best/worst fonts for web design.

    Unfortunately the brush script is amongst them πŸ˜‰

    Thread Starter David_G

    (@questas_admin)

    Yep, I know about that, That is why I only used that font on the FP Titles. However I have changed that font, it is easier to see/read I think. Thanks for the input. It’s the same font I am using on the menu now.

    You know that but you still Did it? :p
    I’m joking. It’s your site you can do whatever you like with it.

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘Override theme settings’ is closed to new replies.