• Resolved cpisar

    (@cpisar)


    I am trying to figure out why some of the CSS on my child theme shows up but some does not. For example, I edited some of the column widths via my child theme style.css. The changes were present at my url. But I also have tried changing the text color for hyperlinks on posts and pages. Again, I added the appropriate code but this time there was no change. And that is just one example. A lot of things have worked, many also have not. What would cause this? How can I fix it? Thanks in advance for the help.

    Theme: Alpha Forte v.1.0.2
    URL: https://www.dunkingfrogs.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • Can you please give a specific example of a link on a page that’s not the correct color? It’s a good sign that at least some rules are being enforced.

    If you learn to use a web debugging tool like Firebug or Chrome Developer Tools, you’ll be able to see what CSS rules are in effect for a particular element. Often, if a rule that you’ve created isn’t being used, it’s because a selector with a high enough specificity wasn’t created.

    Thread Starter cpisar

    (@cpisar)

    I use Firebug and the like all the time. Look at the links in the content area on this page: https://dunkingfrogs.com/?page_id=149 . They are supposed to be green but are instead the default theme color (teal blue color). Take a look at the link at let me know if it looks like a selector problem.

    Here is the code from parent theme:

    article a {color: #2eb396;}

    It should be this shade of green –> #6c9d30

    In your child theme:

    media="all"
    article a {
    color: #6c9d30;
    }

    remove the media=”all”

    Thread Starter cpisar

    (@cpisar)

    Sorry I was to the point where I was trying anything and everything and left that there. It is now removed and still no luck.

    In your child theme’s stylesheet, you’ve forgotten the closing bracket right after this rule:

    .right {
    float: right;
    margin: -70px 30px;

    Add !important. or try using .mid-column article a

    I still see media=”all” in the style sheet. Remove that line, plus add the closing brace as pointed out by @stephencottentail, and that rule should work.

    As an aside, you should rarely use !important, it makes it harder to write future overriding CSS. The only times I use it is to override inline style, or a previous rule that includes !important.

    Thread Starter cpisar

    (@cpisar)

    @stephencottontail: Thanks. I feel like such a schmuck. I don’t know how that slipped my eyes so many times. I felt like I was going crazy. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Child Theme CSS Not All Showing Up’ is closed to new replies.