• cag8f

    (@cag8f)


    Hi all. I’m trying to make an edit to my site. I want to change the background color of the 3 buttons near the bottom (currently set to blue–#009cff). When I inspect this element, it indicates that the color is set in index, not in style.css. Additionally, when I try to add a line to modify this color into my style.css:

    h3.main-title { background-color: #000000;}

    The color does not change. I gather this means that something is overriding this color after style.css? If so, what are my options for changing this color?

    Thanks in advance.

    My theme is a child theme of “Lucid.”

Viewing 2 replies - 1 through 2 (of 2 total)
  • stephencottontail

    (@stephencottontail)

    It’s coming from some inline styles written directly to <head>...</head>, which means it’s likely coming from your theme itself or a plugin you have installed. As you’re using a commercial theme, though, your best bet is to speak to your theme’s vendors if you can’t find the appropriate option on your own. After all, support is part of what you paid for.

    Thread Starter cag8f

    (@cag8f)

    Thanks for that. It’s a free theme, so I’ll see what I can get from their support. If I don’t hear from them though, do I have any recourse as to changing the color myself? I gather it’s complicated, but I’d just like to know if it’s possible or not.

    Follow-up: I added a “body ” to my selector, to make it more specific, and the colors changed as I wanted them to. So we can consider this resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘style.css being overridden by "index." How to resolve/workaround.’ is closed to new replies.