Hi again guys, I have another 2x questions regarding the header on my website:
-
If you see in the screen shot below the area in red there is no gap/margin between the background image and the very top of the page, I would like the background image to be centred with a small margin, for example 0.5em so it’s not touching just the edge of the page, I created the image as a PNG instead of a JPG and don’t want to use a JPG file with a background, is there a way to achieve this margin? I was trying to do it but could not figure it out…
-
if you see in the first screen shot the menu hamburger is ‘black’ like the rest of the menu bar items however when you scroll, I am using some CSS code to change the other menu items from ‘black’ to white, for example in the logo on the left I use
/* nav bar logo change */
.logo2 {
display:none;
}
.x-bar-fixed .logo1 {
display:none;
}
.x-bar-fixed .logo2 {
display:block;
}
I would like to know how I can achieve the same effect applied to the hamburger drop down menu so when it’s in the top un-scrolled position it appears ‘black’ as it is and when you scroll and the nav bar becomes sticky it shows it as white within the purple bar, the same as my uber menu does and the logo.


Thank you guys in advance.

