Sela Theme Mobile Menu Button Issue
-
Hey everyone,
I have a problem with my menu on the sela theme when viewing my site from a mobile. I have changed the CSS so that the menu colour is purple instead of the default pink. However when viewing it on a mobile, the menu bar is the right colour however where it has the hamburger menu and says menu it is still pink.
This is the CSS I used to change the background colour:
nav#site-navigation {
background-color: #BF5FFF;
}And my site it this:
Any help would be appreciated. Thanks!
-
Hi there!
If I’m understanding you correctly (you want to change the background color of the hamburger menu that appears on mobile), I believe the CSS from Kathryn’s answer in this thread will work for you: https://ww.wp.xz.cn/support/topic/menu-mobile-icone-color?replies=8#post-6658917
Let me know if you have any questions (or if you meant something else)! 🙂
Hello Sarah thanks to help him/her ,
you should add this stylenav#site-navigation { background-color: #BF5FFF!important; } button { background-color: #BF5FFF!important; }Best Regards
RohallahThat will work, however one note on targeting only “button” — That will change all buttons on the site and doesn’t target the specific button/area.
Since it can be made more specific, I would recommend using Kathryn’s suggestion of targeting “.main-navigation button” to change only the mobile (hamburger) menu background color.
thanks lady
Is it ok?nav#site-navigation { background-color: red!important; } button.menu-toggle { background-color: red!important;; }Hello Sarah thanks for the info. However I have put that code in but the problem is still persisting. The whole area around the hamburger menu and word “menu” is still pink when viewing on mobile.
hi @sara ,Where are you?
@poppymayy – Hi!
This is what I see when I look on mobile and expand your menu: https://cloudup.com/cn1EjixeZ7h (The menu bar is the same color when not expanded too. It appears to match the site when viewed on a computer.)
Is this correct? Or should this color be different?
Are you seeing something different? If so, which browser are you using?
@rohallah — Hi! Did you have a question about that? If it is about a new topic/issue, please start a new thread. 🙂
The topic ‘Sela Theme Mobile Menu Button Issue’ is closed to new replies.
