Just been using my new sit eon a mobile device and have noticed that the navbar when opened buty clicking the hamburger button has no colour behind it.
I have upload all new files for the navbar just in case something was wonky but that made no difference.
I have also deleted everything from the css file relating to navbar and still no colour shows.
Does anyone know what may be causing this and give guidance on correcting the error.
help with navbar problem on small devices
-
14Steve14
- Senior Contributor
- Posts: 923
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: help with navbar problem on small devices
That's what I see in Firefox in responsive mode. Is that what you see? Or something different. If different, what are you using to view it? Android phone? iPhone? Something else?
You do not have the required permissions to view the files attached to this post.
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: help with navbar problem on small devices
Looks fine to me. Tested on iPhone and in chrome (in small mode).
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
14Steve14
- Senior Contributor
- Posts: 923
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: help with navbar problem on small devices
@ecartz and @burt thanks for taking a look.
That's what I see.
I have turned the navbar back to how it was i.e. a dark background and a light text.
Now hover over the top navbar hamburger menu. When the dropdown menu opens there is no background colour, so when I have the text setting to show as white with a darker navbar background colour all you can see is the Heart for the wishlist and it looked like the text was missing. White text on a white background. On the demo store the background colour shows behind the text as I would think it should.
I hope this explains better.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: help with navbar problem on small devices
When I add via Web Developer Tools It shows blue. Not sure what would happen if you added the same via user.css.
The problem is that offcanvas-collapse has its own background color set, which seems to be overriding other colors.
Note: I just selected blue because it was dark and appeared in the dropdown when picking a color. Presumably you can set that to whatever you want.
Code: Select all
.navbar-collapse.offcanvas-collapse.open {
background-color: blue;
}The problem is that offcanvas-collapse has its own background color set, which seems to be overriding other colors.
Note: I just selected blue because it was dark and appeared in the dropdown when picking a color. Presumably you can set that to whatever you want.
-
14Steve14
- Senior Contributor
- Posts: 923
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: help with navbar problem on small devices
I would never have found that. I was thinking of ways to change the colours so something did show. Now I don't have to. Thanks for your help.ecartz wrote: ↑Sat Jun 15, 2024 12:01 am When I add via Web Developer ToolsIt shows blue. Not sure what would happen if you added the same via user.css.Code: Select all
.navbar-collapse.offcanvas-collapse.open { background-color: blue; }
The problem is that offcanvas-collapse has its own background color set, which seems to be overriding other colors.
Note: I just selected blue because it was dark and appeared in the dropdown when picking a color. Presumably you can set that to whatever you want.
-
Omar_one
- Senior Contributor
- Posts: 679
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: help with navbar problem on small devices
Now it show to me on android mobile light background and the font is light. So it's not clear
You do not have the required permissions to view the files attached to this post.