mmorra11 Posted December 29, 2022 Share Posted December 29, 2022 Hi all looking for some help on being able to use a different logo on one page then my other pages. The code I tried was <script> .header-title-logo a { content: url ("https://static1.squarespace.com/static/626c0094372874079a3e1e02/t/63ad239c5db9293ad25672f8/1672291228462/Tremson+Logos-02.png"); } </script> I have also tried a few other ones but nothing happens when I put it in. Any help would be appreciated. Link to comment
tuanphan Posted December 30, 2022 Share Posted December 30, 2022 The CSS code, need to wrap by <style> tag, not script tag. Use this new code <style> header#header img { content: url(https://static1.squarespace.com/static/626c0094372874079a3e1e02/t/63ad239c5db9293ad25672f8/1672291228462/Tremson+Logos-02.png); } </style> mmorra11 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