AlpineDesign Posted September 20 Posted September 20 (edited) Site URL: https://sealion-saffron-8hn9.squarespace.com/ PW: riverright I am having an issue where the logo is showing correctly on mobile for the home page but on the mobile version, it is showing the logo twice and super stretched out. I am not good with code but did add the following code found on this forum to fixe some other issues: Custom CSS: header-nav { position: absolute; width: 50vw !important; left: 0%; transform: translateX(-50%); } .header-actions--right { width: 20vw !important; } .sqs-block-content .lightbox-handle { background: #5c95a3 !important; } Code Injections for SVG logo: <!---SVG LOGO---> <style> /*Hide PNG Logo*/ .header-title-logo img, .header-mobile-logo img { visibility: hidden;} /*Replace with SVG Logo*/ .header-title-logo a, .header-mobile-logo a{ background: url(https://sealion-saffron-8hn9.squarespace.com/s/RR_Logo_Rectangle_white.svg) no-repeat!important; background-position:center!important; background-size: contain!important;} </style> I am only seeing this on my phone and not when I look at the mobile version on my computer. Edited September 20 by AlpineDesign Added password
tuanphan Posted September 23 Posted September 23 Hi, I think logo is already fine now 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!)
AlpineDesign Posted September 23 Author Posted September 23 @tuanphanThe issue only seems to be happening on an actual cell phone and not when looking in chrome or squarespace on various devices
tuanphan Posted September 25 Posted September 25 Remove this code <style> /*Hide PNG Logo*/ .header-title-logo img, .header-mobile-logo img { visibility: hidden;} /*Replace with SVG Logo*/ .header-title-logo a, .header-mobile-logo a{ background: url(https://sealion-saffron-8hn9.squarespace.com/s/RR_Logo_Rectangle_white.svg) no-repeat!important; background-position:center!important; background-size: contain!important;} </style> and use this new code <style> header#header img { content: url(https://sealion-saffron-8hn9.squarespace.com/s/RR_Logo_Rectangle_white.svg); } </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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment