E8h5S7Z Posted September 6, 2023 Posted September 6, 2023 Hello, I already utilize a custom social media icon sitewide, but on blog pages, circumstances dictate that I use a different icon (inverting the color). I was wondering if anyone knows how to using a different custom social media icon on just blog post pages. Any help is greatly appreciated!
CassAggett Posted September 7, 2023 Posted September 7, 2023 @NDucrETH can you share your site link and the code you're using currently? We can provide additional code that targets just the blog pages. Instruction: How to set a site-wide password If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM
E8h5S7Z Posted September 7, 2023 Author Posted September 7, 2023 12 minutes ago, CassAggett said: @NDucrETH can you share your site link and the code you're using currently? We can provide additional code that targets just the blog pages. Msg'd you privately with the site link, but please feel free to share the solution publicly. Many thanks!
Solution CassAggett Posted September 9, 2023 Solution Posted September 9, 2023 @NDucrETH Thanks, got the link. Try this code: @media only screen and (min-width: 640px) { body[class*=collection-type-blog] { .icon--fill:nth-of-type(1) { background-image: url(https://static1.squarespace.com/static/628d9580451c5d347006983d/t/62ff2db34930cc1976790cf4/1660890547092/naverblack-01.png); background-size: 100%; background-repeat: no-repeat; } } } Instruction: How to set a site-wide password If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment