derricksrandomviews Posted January 22, 2023 Posted January 22, 2023 I have tried to write code that will make my visited drop down menu links turn red, just like the links in my blog archive/subject box. I can't do it but I think a better coder than me here can, right? my random views
creedon Posted January 22, 2023 Posted January 22, 2023 Add the following to Design > Custom CSS. body #topNav a:visited { color : #e21212; } Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
creedon Posted January 22, 2023 Posted January 22, 2023 (edited) Actually that will do any a link in the nav. You want it in the drop downs only correct? body #topNav .subnav a:visited { color : #e21212; } Edited January 22, 2023 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
derricksrandomviews Posted January 23, 2023 Author Posted January 23, 2023 Your second snipped turns the links red all the time, not just when visited. Not sure but is the hover change with underline stopping the visited color change from working correctly? The change is in this snippet on my site: #header a:active { text-decoration: underline !important; } #header a:hover { text-decoration: underline !important; }div.folder.active { text-decoration: underline !important; } This code adds a drop shadow to the drop down menu box.: #topNav nav .folder-collection .subnav { background: #fff !important;box-shadow: 5px 5px 15px rgba(0,0,0,0.25) This is the code that changes the visited link in the archive block: .archive-group-name-link:visited {color:red !important;}
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment