Jarren88 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! Beyondspace 1 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; } tuanphan and Jarren88 1 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
Jarren88 Posted December 22, 2020 Author Share Posted December 22, 2020 Works perfectly! Thank you! Beyondspace 1 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