Nomis Posted January 7 Share Posted January 7 Hi folks, I have the following concern. I have colored the title logo differently on some subpages of my website, using the following code (where I always inserted the corresponding 'collection'). #collection-6595797ec3b950376c30d202 {div.header-title-logo a { content:url("my_colored_logo_title_version") !important; max-width: 100px; margin-left: auto; margin-right: auto; }} It works well on the desktop version, but unfortunately, it doesn't change in the mobile version. How can I fix this? Appreciate your help! Site: https://maltemartenmethod.squarespace.com/ Pword: maltemartenmethod2023 Link to comment
tuanphan Posted January 9 Share Posted January 9 You can use this new code. To change on one page, just edit that page > Add a Block > Choose Code > Use this code <style> header#header img { content: url(https://cdn.pixabay.com/photo/2023/07/04/10/30/dragon-fly-8105990_1280.jpg); } </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
Nomis Posted January 9 Author Share Posted January 9 Thank you @tuanphan, that works. What about pages where I can't add a code block, like the shopping cart, checkout, or other shop pages? Is there a solution for that too? As I mentioned, the method I described above works for desktop, but unfortunately not for mobile. Link to comment
tuanphan Posted January 10 Share Posted January 10 With Shop Page, you can add code to Shop Page Header Code Injection With Cart Page, use this code to Custom CSS box body#cart, body#Cart { header#header img { content: url(https://cdn.pixabay.com/photo/2023/07/04/10/30/dragon-fly-8105990_1280.jpg); }} With Checkout, it is not possible, SS blocked code on this page for security reason. Nomis 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!) 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