Guest Posted December 21, 2020 Share Posted December 21, 2020 Hello, I'm looking to move the +/- open/close indicators to align to the right and have the entire item underlined. Attached an edited picture of current vs. ideal look for reference. after changing the css to: .markdown-block .ui-closed:after { padding-left: 0em; content:"+ "; } .markdown-block .ui-open:after { padding-left: 0em; content:"- "; } + got put behind the text, however, I cannot seem to be able to underline the entire item or align the indicators to the right. is this even doable with css or is this something that needs to be edited in html in the markdown itself? https://angeliqueskincare.com/shop/p/drybeautyoil-k8n3f-xtl9a-frkef-je7bl-cy2jl-93awy Any help is greatly appreciated! Thanks! Link to comment
Beyondspace Posted December 22, 2020 Share Posted December 22, 2020 1 hour ago, Jarren88 said: Hello, I'm looking to move the +/- open/close indicators to align to the right and have the entire item underlined. Attached an edited picture of current vs. ideal look for reference. after changing the css to: .markdown-block .ui-closed:after { padding-left: 0em; content:"+ "; } .markdown-block .ui-open:after { padding-left: 0em; content:"- "; } + got put behind the text, however, I cannot seem to be able to underline the entire item or align the indicators to the right. is this even doable with css or is this something that needs to be edited in html in the markdown itself? https://angeliqueskincare.com/shop/p/drybeautyoil-k8n3f-xtl9a-frkef-je7bl-cy2jl-93awy Any help is greatly appreciated! Thanks! .collection-type-products.view-item .sqs-block-markdown .sqs-block-content h4 { line-height: inherit; margin: 0; margin-bottom: 10px !important; position: relative; } .collection-type-products.view-item .sqs-block-markdown .sqs-block-content h4 > span { display: block; text-decoration: none !important; border-bottom: 1px solid #000; position: relative; } .collection-type-products.view-item .markdown-block .ui-closed:after { position: absolute; top: 0; right: 0; } .collection-type-products.view-item .markdown-block .ui-open:after { position: absolute; top: 0; right: 0; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted December 22, 2020 Share Posted December 22, 2020 Works perfectly! Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.