niteshifte Posted June 7, 2023 Posted June 7, 2023 Hi there, Is it possible to change the colour of the logo and the navigation/social media on the homepage only? I ask because I'd like to change the background image from time to time. At the moment the black-on-white works fine but if I change the image to a darker one, I'd like to be able to reverse the colours of the navigation etc for standout. www.peterotoole.ie Thanks!
tuanphan Posted June 9, 2023 Posted June 9, 2023 Add to Design > Custom CSS /* Homepage Header */ body.homepage header#header img { content: url(https://cdn.pixabay.com/photo/2023/05/28/13/15/helicopter-8023696_640.jpg); } body.homepage div.header-nav-item a { color: #f1f !important; } body.homepage header#header svg { fill: #f1f; } niteshifte 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
niteshifte Posted June 16, 2023 Author Posted June 16, 2023 On 6/9/2023 at 5:35 AM, tuanphan said: Add to Design > Custom CSS /* Homepage Header */ body.homepage header#header img { content: url(https://cdn.pixabay.com/photo/2023/05/28/13/15/helicopter-8023696_640.jpg); } body.homepage div.header-nav-item a { color: #f1f !important; } body.homepage header#header svg { fill: #f1f; } Thanks for this Tuanphan! The only thing is the mobile navigation '+' menu icon is still the darker colour as you can see in the screenshot below. Can I change this to white as well, please? Thanks
tuanphan Posted June 20, 2023 Posted June 20, 2023 Add this code under body.homepage .burger-inner>div { background-color: white !important; } niteshifte 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
niteshifte Posted June 20, 2023 Author Posted June 20, 2023 hi Tuanphan, thanks for that. Only 1 small issue, the shopping cart icon has an outline and is visible on the mobile menu as you can see below. Any way to fix this? Thanks!
Solution tuanphan Posted June 22, 2023 Solution Posted June 22, 2023 Add this code under body.homepage.header--menu-open header#header svg.icon--cart { fill: black !important; } body.homepage.header--menu-open header#header .burger-inner>div { background-color: black !important; } body.homepage.header--menu-open header#header img { filter: invert(1); -webkit-filter: invert(1); } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment