Hi
I have used this before –
#mobile-advanced:before {
content: '';
width: 300px;
height: 300px;
display: block;
overflow: hidden;
margin-top: 40px !important;
background: url("http://www.8888osler.com/images/8.png") no-repeat center center;
background-size: 100% 100%;
margin: 0 auto;
}
The problem is it’s no longer showing up. Please adise – I jhave to launch tomorrow so please let me know as soon as possible :)
Hey webWahine,
Please use following code instead
ul#av-burger-menu-ul {
content: '';
width: 300px;
height: 300px;
display: block;
overflow: hidden;
margin-top: 40px !important;
background: url(https://www.8888osler.com/images/8.png) no-repeat center center;
background-size: inherit;
margin: 0 auto;
background-position: 0 0;
}
Best regards,
Yigit
That sort of worked – I tried to reduce the image size and it started to get cut off, plus this also centered the menu text below, so I’m assuming this is applying to all in the open state since it’s using the ul css. Could you please provide an option to center the image above the open hamburger X ?
Hi!
Please change the code to following one
ul#av-burger-menu-ul {
content: '';
width: 300px;
height: 300px;
display: block;
overflow: hidden;
margin-top: 40px !important;
background: url(https://www.8888osler.com/images/8.png) no-repeat center center;
background-size: 40%;
margin: 0 auto;
background-position: 50% 10%;
}
Best regards,
Yigit
Perfect! Thank you, Yigit :)
Hi,
I’m glad Yigit was able to help you. If you need anything else, please let us know here in the forums.
Best regards,
Jordan Shannon