WordPress.org

Ready to get started?Download WordPress

Forums

Child theme's strange behaviour (2 posts)

  1. romanrandom
    Member
    Posted 2 years ago #

    Hi,
    I'm trying to style a website using a child theme of the Yoko theme. I set it up correctly (I think) and started overriding some of the rules.
    But it didn't work as expected, for example: to change the color of links on hover I had to write this:

    a:hover {
    	color: none;
    	color: #C1301C !important;
    }

    adding important wasn't enough.
    This one at least worked this way, but when trying to disable the border of the widgets and writing:

    aside.widget {
    	border-bottom: none !important;
    }

    It won't work! that part won't even appear in the stylesheet loaded by the browser. This happens with other changes too, and what is even stranger is that sometimes a working change stops working when I try to override some of this unoverridable rules.

    Here is the website:
    miobuu.com

    I'm starting to hit the table from frustration, which is a good sign to stop trying to solve this myself. I hope someone has any idea.

    Thanks!

  2. romanrandom
    Member
    Posted 2 years ago #

    More weird stuff:
    Now the border is gone in Chrome after clearing it's cache, but not in Firefox or IE. What's going on?

Topic Closed

This topic has been closed to new replies.

About this Topic