Overriding parent theme on Menu
-
Hi all. I’m still pretty new at this, but I’m doing my best to educated myself. I’ve created a parent theme for Asokay (supposedly easy to customize). madeleinebee.com
I’ve changed the menu background color (even though in Firebug it doesn’t seem to know that…). However, when I hover over a menu item, the background reverts back to the parent theme’s color. As you can see, I’ve tried to fix this by changing all of the id’s background colors, but it’s not working.
/* Theme Name: Asokay Child Theme Theme URI: https://madeleinebee.com/ Description: Child theme for the Toolbox theme Author: Maddie Author URI: https://madeleinebee.com/my-story/ Template: asokay Version: 0.1.0 */ @import url("../asokay/style.css"); /* Menu */ #access{ background:#F08080; } #access a{ background:#F08080; color:white } #access ul{ background:#F08080; } #access li{ background:#F08080; } #access ul ul{ background:#F08080; } #access li:hover{ background:#F08080; } #access ul ul a:hover{ background:#F08080; } #access ul li:hover{ background:#F08080; }
Furthermore, when I tried to change #access a{ font color, it would only change after I used the term “white” as opposed to #FFF8F0. What’s up with that?
I’m sure it’s operator error, so I’d be very appreciative to learn from this. Thank you!!!
Maddie
- The topic ‘Overriding parent theme on Menu’ is closed to new replies.