By gapi78 on
hello all
i have a big problem, im creating my own Zen subtheme and have a problem with changing the menu.
I have a menu which is in #block-menu-menu-eng-menu and everything i do with css i cant get it to change background color, link color, ....
can anyone help.
thx
Comments
Sometimes it helps to chech
Sometimes it helps to chech css and media type.
Try following css
Hi,
In my case I changed background color and link color by adding following css in my custom .css file(created file named myzen.css in /css folder and added
stylesheets[all][] = css/myzen.cssin myzen.info file. Cleared the cached data).1. To change background color of menus of '#block-menu-menu-eng-menu' try following css, in that change the values of all properties according to your requirement. :
2. To change link color :
3. If you want to change the color of the links on mouse hover event then try this :
4.If you want to change the color of the links on active then try this:
Also take into account which
Also take into account which element you are trying to give the background to.
The ul element has no height if I remember correctly within the zen theme because all the li elements have float:left. If you do something like this:
that will force the ul to have height, and you would be able to see the background. Another option would be to give the last listitem a class of "clear-block", which too would fix the height issue.
however you should be able to give a background to #nav which should take without any trouble.
Michael