Transparent burger menu items

Hi there,

The menu items don’t have a solid background when I reduce the screen size and the burger menu is in the use. These need to have a white background with green text and not take up the whole width of the page.

Thanks,
Tom

Hi There,

Thanks for writing in!
For that, you need custom CSS code. Please try this in your X-Theme Options -> CSS and let us know if that helps!

@media (max-width: 979px) {
.x-nav-wrap.mobile {
background: #fff;
padding: 10px;
max-width: 400px;
margin: auto;
}
.x-navbar .mobile .x-nav li a {
color: #66bb6a !important
}
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Hope this helps!

Hi!

That’s really helpful thank you, that’s worked perfectly.

You’re welcome. Glad we could help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.