Tagged: Background color, catch base
- This topic has 9 replies, 2 voices, and was last updated 8 years ago by
peter[at]droginformation[dot]nu.
-
AuthorPosts
-
May 13, 2015 at 3:46 pm #57613
peter[at]droginformation[dot]nu
ParticipantHi!
First of all I want to say that it is a great theme to work with! π
Please let me know what code I should add to my custom CSS in order to change the background color of menu under.
It is the background color of the secondary menu I want to change.
It is this site:
http://www.isaynodrugs.org/Thanks in advance!
// Peter πMay 14, 2015 at 3:57 pm #57696Sakin
KeymasterHello Peter,
You haven’t added in Secondary menu, so I am bit confused. Can you add secondary menu and let me know in which color you code you want to change to.
Regards,
SakinMay 19, 2015 at 6:44 pm #57970peter[at]droginformation[dot]nu
ParticipantHi Sakin! π
Ok, I have now added the secondary menu.
Can you give a code that I can add to my Custom CSS? This is a code so that I can change the colour of the background in the secondary menu.
Thanks!
// Peter π
May 19, 2015 at 7:51 pm #57979Sakin
KeymasterHello Peter,
You can change the color code in the following css as per your need and then add it in “Appearance => Customize => Theme Options => Custom CSS Options” box:
.nav-secondary { background-color: #111; }
Regards,
SakinMay 19, 2015 at 8:47 pm #57987peter[at]droginformation[dot]nu
ParticipantHi! π
Thanks a lot for this!
It is working perfect!
// Peter π
May 20, 2015 at 3:15 pm #58039peter[at]droginformation[dot]nu
ParticipantDear Sakin!
Please help me also to change the color of the text in the secondary menu.
What code do I put in Custom CSS to change the color of this text?
// Peter π
May 20, 2015 at 3:26 pm #58041Sakin
KeymasterHello Peter,
You can change the color code in the following css as per your need and then add it in “Appearance => Customize => Theme Options => Custom CSS Options” box:
/* Secondary Menu Text color */ .nav-secondary .catchbase-nav-menu a { color: #000; } /* Secondary Menu Text Hover color */ .nav-secondary .catchbase-nav-menu li a:hover { color: #000; } /* Secondary Menu Text Active color */ .nav-secondary .catchbase-nav-menu .current-menu-item > a, .nav-secondary .catchbase-nav-menu .current-menu-ancestor > a, .nav-secondary .catchbase-nav-menu .current_page_item > a { color: #ec6307; }
May 20, 2015 at 4:06 pm #58044peter[at]droginformation[dot]nu
ParticipantThanks a lot Sakin! π π Peter
May 20, 2015 at 6:47 pm #58049peter[at]droginformation[dot]nu
ParticipantHi again Sakin!
I also need to handle the thickness of the menu and secondary menu.
Can you help me with a code for this in the Customer CSS?
Both menu and secondary menu width, thickness.
// Peter π
May 21, 2015 at 8:01 pm #58104peter[at]droginformation[dot]nu
ParticipantThis matter has now been resolved, thanks! π
-
AuthorPosts
- The topic ‘Change background color of menu under’ is closed to new replies.