-
AuthorPosts
-
August 27, 2018 at 4:24 pm #1002350
Hello!
On the General Styling/Socket tab, I have the background color set to a value that is different from all other background colors. When I’m on a desktop browser, the top bar color is the same as the default background color. As I begin to shrink down the browser to the size of a tablet, the header and top bar colors change to the color of the socket! If I keep shrinking down the browser to the size of a phone, the header and background colors change back to the default background color.
1. Why is this happening?
2. How do I get the table header/top bar background color to stop adopting the socket background color?
3. If I wanted the header/top bar color to be different from the default background color AND the socket color, how do I do that?Thanks!
Jeff
August 28, 2018 at 9:08 am #1002597Hey JeffBianchi,
1) The smaller screen size triggers the mobile menu which fades in between 989px and 768px. The mobile menu uses a different background color than the standard (desktop) menu.
2) Add this code to the quick css field (Enfold > Theme Options > ) to change the background color of the mobile menu:
@media only screen and (max-width: 989px) and (min-width: 768px){ .responsive #top .header_bg { background-color: #fff; } }
If you want to use the background color of the main content you can set the color value to #94b8b8.
@media only screen and (max-width: 989px) and (min-width: 768px){ .responsive #top .header_bg { background-color: #94b8b8; } }
However in this case I’d recommend to change the color of the mobile menu icon to white or another color, otherwise the color of this icon equals the background color and your website visitors won’t see the icon. You can use following code to change the icon color:
#top .header_color .av-hamburger-inner, #top .header_color .av-hamburger-inner::before, #top .header_color .av-hamburger-inner::after { background-color: #fff; }
Best regards,
DudeAugust 28, 2018 at 3:48 pm #1002730Thanks, Dude.
Other than the Quick CSS, is there a place where I can set the background colors for other screen sizes? The reason I ask, is because I’d like to be able to make these kinds of color modifications without having to create new CSS to do so.
August 29, 2018 at 5:34 am #1002972Hi,
That is unfortunately not possible at the moment in the theme options, we will hopefully get this implemented in a future release of the theme though. Until then custom CSS would be the best solution.
Best regards,
RikardAugust 29, 2018 at 5:48 pm #1003225Ok, thank you Rickard.
You can close this ticket.
August 30, 2018 at 6:33 am #1003377 -
AuthorPosts
- The topic ‘Default Socket Background Color in Header/top bar when on tablet?!?’ is closed to new replies.