I’ve just setup the sidebar feature, and figured out the hamburger icon is not visible, like this:
But when I hover my mouse in the box, it somehow appears its icon:
How can I show the icon even when I’m not pointing my cursor in the box?
I’ve just setup the sidebar feature, and figured out the hamburger icon is not visible, like this:
But when I hover my mouse in the box, it somehow appears its icon:
How can I show the icon even when I’m not pointing my cursor in the box?
Hello,
It seems to your --header_primary-low-mid
(which is the default header buttons) color variable is same color as --header_primary
(header) color (#fff). This is why the sidebar icon is not visible. As I see on your site you are using the --tertiary
color variable to the other header icons. You can also change the sidebar button color. Or you can change the header_primary-low-mid
color to make it visible.
Create a new theme component or add this to an existing one
Desktop > CSS
.header-sidebar-toggle {
button {
.d-icon {
color: var(--tertiary);
}
}
}
Thanks for your prompt reply!
But I still cannot find the right variable you are mentioning:
Well, as I see non of these can controls header buttons color. This is a custom theme where you can change the colors. I think this is a remote theme so probably you cannot change the color variable color but you can check it on the /admin/customize/colors
(Admin > Customize > Colors) page. On that page select the Color Palette you use and search for the header_primary-low-mid
variable. If you cannot change it then you need to contact with the theme creator.
OR
You can try to add a new theme component which will change the sidebar button color.
/admin/customize/themes/
.header-sidebar-toggle {
button {
.d-icon {
color: var(--tertiary);
}
}
}
Amazing, thanks for your help. It perfectly solved my issue =]
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.