lfa_agency Posted March 26, 2022 Share Posted March 26, 2022 Site URL: https://www.prdispatch.com/ Hi, I'm trying to change the logo to white on specific pages. I've done it on the desktop size with the coding below but I can't figure how to do it on mobile view. <style> .header-title-logo img { visibility: hidden; } .header-title-logo a { background-image: url(https://static1.squarespace.com/static/61e1b890c5b8624a8b9c74b4/t/61f290fa409bb56a624998de/1643286778949/PR+Dispatch+Logo+white.png); background-size: cover; background-repeat: no-repeat; background-position: center center; } </style> Link to comment
tuanphan Posted March 29, 2022 Share Posted March 29, 2022 Remove your code & add this new code <style> header#header img { content: url(https://static1.squarespace.com/static/61e1b890c5b8624a8b9c74b4/t/61f290fa409bb56a624998de/1643286778949/PR+Dispatch+Logo+white.png); } </style> 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!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment