-
AuthorPosts
-
April 27, 2014 at 3:27 pm #197124
Hello,
I want to change the dark background of the megamenu to a lighter colour (and probably change the color of the items to black for the contrast) but I can’t figure out where to do that. I expected to find it in megamenu.css but probably I oversse the correct place to change it.
Could anyone pint me to the correct spot to change the colours?
Regards,
Pieter
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 27, 2014 at 3:35 pm #532608Hi
In your custom.css you can add this
.navbar-default {
background-color: #yourcolor!important
}1 user says Thank You to pavit for this useful post
April 27, 2014 at 5:46 pm #532611Thanks for your swift reply. I’ve added this to my custom.css but it does not affect the background color:
.navbar-default {
background-color: #d4e371!important
}pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 27, 2014 at 5:55 pm #532613Hi
The correct code is
.navbar-default {
background-color:#d4e371!important;
}It has a semicolon at the end
April 27, 2014 at 7:58 pm #532616Thanks, the semicolumns worked. But, what happended was that the background of the megamenu changed. I think I was not specific enough. When you hover over the megamenu the dropdown menu that is shown has a very dark grey colour. I want to change that color. So we are in the right direction but not close enough yet. Have a new idea fo me?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 28, 2014 at 4:08 pm #532739Tom,
that’s exactly what I was looking for. Thanks a lot.
Pieter
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 28, 2014 at 4:09 pm #532741<em>@pjotrij 424090 wrote:</em><blockquote>Tom,
that’s exactly what I was looking for. Thanks a lot.
Pieter</blockquote>
Happy to be of assistance . . . All the best with your continuing site development
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by TomC 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum