thejschweigert Posted December 27, 2021 Share Posted December 27, 2021 Site URL: https://www.joshuaschweigert.com/about-me Hello, I need help adding a 2px black border to surround my table of contents box on my website. Any assistance would be greatly appreciated! This is the code I have so far; // Table Of Contents Block Coding // .table-of-contents { display: block; background-color: #4FD5D6; padding: 22px; margin: 0 0 1em /*1em*/; min-width: 30%; /*max-width: 60%;*/ } .toc-title { display: block; margin-top: 0; margin-bottom: 1em; border-top: none; padding-top: 0; font-size: 20px; font-weight: 600; line-height: 1em; color: #444; } .toc-links { list-style-position: outside; list-style-type: none; margin: 0; color: #b8b8b8; margin-bottom: 0; padding: 0; font-weight: 500; font-size: 16px; } .toc-links li { line-height: 1.4em; padding-bottom: 0.6em; margin-left: 0; } .toc-links a { text-decoration: none; color: #000000; } Thank you for your help, Joshua Schweigert Beyondspace 1 Link to comment
Beyondspace Posted December 28, 2021 Share Posted December 28, 2021 3 hours ago, thejschweigert said: Site URL: https://www.joshuaschweigert.com/about-me Hello, I need help adding a 2px black border to surround my table of contents box on my website. Any assistance would be greatly appreciated! This is the code I have so far; // Table Of Contents Block Coding // .table-of-contents { display: block; background-color: #4FD5D6; padding: 22px; margin: 0 0 1em /*1em*/; min-width: 30%; /*max-width: 60%;*/ } .toc-title { display: block; margin-top: 0; margin-bottom: 1em; border-top: none; padding-top: 0; font-size: 20px; font-weight: 600; line-height: 1em; color: #444; } .toc-links { list-style-position: outside; list-style-type: none; margin: 0; color: #b8b8b8; margin-bottom: 0; padding: 0; font-weight: 500; font-size: 16px; } .toc-links li { line-height: 1.4em; padding-bottom: 0.6em; margin-left: 0; } .toc-links a { text-decoration: none; color: #000000; } Thank you for your help, Joshua Schweigert try .table-of-contents { border: 2px solid black; } Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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