Brier Posted April 29, 2023 Share Posted April 29, 2023 Hi everyone, I have two questions: 1. I bought the darkmode toggle from Code & Tonic and it works great, but it doesn't impact the logo. I used some other code I found to get the logo and title up in the header section, but I'd really like it if the toggle inverted it. This is the code I'm using for the header at the moment: // header title .header-title-logo a:after { content: "The Blade & Briar"; display: inline-block; font-size: 100px; font-family: Scrivano; color: White; text-align: center; vertical-align:middle; font-weight:200; padding-left: 20px; } .header-title-logo img { vertical-align: middle; } /* Does anyone have any suggestions for how to get that working? I know there is an "items to invert" section in the Code & Tonic CSS, but it requires the block id. The problem with that is that the ID finder extension for Chrome isn't able to find one for the logo/header. 2. It would be neat to have an "invert background to x image" option on each page in dark mode. Does anyone have any suggestions for how this might work? p.s. I did try reaching out to Code & Tonic, but I haven't heard back yet and have some project deadlines. Thank you so much! Link to comment
tuanphan Posted May 1, 2023 Share Posted May 1, 2023 What is site url? We can check easier 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
TinaCreates Posted May 13, 2023 Share Posted May 13, 2023 Hey There, Were you able to find a solution? I was looking into adding a dark mode/light mode plug in to my websites as well, and I also came across Code & Tonic on google. I also wanted to understand if you have a logo image that you uploaded vs. a text logo that was typed into Squarespace. It would be great to hear from you! Thanks! Link to comment
John_Squarify Posted May 23 Share Posted May 23 Hey @Brier in case you still need it, I recently created a Dark Mode Toggle Plugin you can use for free here: https://www.squarify.xyz/plugins/p/dark-mode-toggle-plugin If you are using a logo image in your header, you can provide a URL just for dark mode. Feel free to let me know if you need any help! I make premium Squarespace plugins and give them away for FREE at https://squarify.xyz . 🛒 Peekaboo Side Cart Plugin 🎬 Video Lightbox Plugin 🌗 Dark Mode Toggle Plugin 🤯 Why Free? 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