mportch Posted June 13 Posted June 13 Hi, How do I make each category link go from all underlined – to no underline and greyed out except for the category landed on? https://www.mattportch.com/limited-edition-prints/forgotten-palms Beyondspace 1
Solution Beyondspace Posted June 13 Solution Posted June 13 12 hours ago, mportch said: Hi, How do I make each category link go from all underlined – to no underline and greyed out except for the category landed on? https://www.mattportch.com/limited-edition-prints/forgotten-palms Use the following code to set none for underlined setting .fe-block-yui_3_17_2_1_1718246766415_7104 p > a { text-decoration : none; color: #D8D8D8; } I check that you are using the independent HTML for these categories so we can not use CSS code to work around with the active category. If your website is available with javascript code, we can implement some js code to read the current href and match it with your links. Hope it makes sense mportch 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
mportch Posted June 13 Author Posted June 13 Thanks that code works! I don't know about Javascript so might have to give this a miss anyway. I may have to go back to squarespace original category links because I'm going to add more categories - eventually the hand typed links will get too busy at the top of the page in mobile - and squarespace's version scrolls.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment