How To Change Background Colour For .offcanvas-menu Mobile Only? - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How To Change Background Colour For .offcanvas-menu Mobile Only?

S

ssnobben

Helix Framework 4 years ago

Hi I can do some change to background colour for .offcanvas-menu desktop but I cant find how to make that work for mobile to change background color and color for the offcanvas menu mobile only.

I would like to change the background color and color for the dropdown mobile menu when click on hamburger menu but I cant get it to work so thats it. Is this a bug or where do you do that so I can add it to my custom css file.

I tried this for example but no effect etc.

.offcanvas-menu .offcanvas-inner .sp-module ul > li { line-height: 20px !important; margin-bottom: 1px !important; margin-top: 1px !important; }

0
2 Answers
Ariba
Ariba
Accepted Answer
Support Agent 4 years ago #31059

Hello

Thank you for your query.

Could you provide your site URL please?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #31065

Hi, Sorry, but your code doesn't change the color ! there is no a single line about color nor bg color change. Margin =/= color !


Please use guide from Helix Ultimate 1.x - it was descibed there, section "Off-canvas Menu customization":

https://www.joomshaper.com/documentation/helix-framework/helixultimate/faq-how-to-do

Start from here:

here1.png

0