mattsavage Posted November 10, 2020 Posted November 10, 2020 I'm using markdown blocks to add text that has a different color background for a series copy (see attached). I'm trying to set each block so the heights are the same. I'm able to space things out left and right and align the tops with the standard block dimensions, but can't seem to find code to adjust the block sizes themselves so that the bottoms will also be aligned. Here is an example what I have so far for my markdown: <div style="background-color:rgba(0, 0, 0, 0.0470588); text-align:center; vertical-align: middle; padding:30px 30px;"> #### **JANUARY ** *FRESH START CLEAN HOME* • Genesis Hand & Body Lotion - 21.75 PV ($21.75) • Grapefruit Oil - 18 PV ($18) • Orange Oil - 11.5 PV ($11.50) #### **Total: 51.25 PV ($51.25)** Thanks, Matt
Beyondspace Posted November 11, 2020 Posted November 11, 2020 Could you share use your current url? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
mattsavage Posted November 13, 2020 Author Posted November 13, 2020 Hi, @bangank36 I'm still developing most of the pages. I'm referring to the below page. https://oliwellness.squarespace.com/young-living-essential-rewards Password: circle Thanks, Matt
tuanphan Posted November 20, 2020 Posted November 20, 2020 Replace all boxes with Markdown Block. 3 row of boxes = 3 Markdown Blocks (1 Markdown = 4 boxes) 1. Use this syntax. (Don't remove ###### END) > #### JANUARY > *FRESH START CLEAN HOME* > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > #### Total: 1000$ ###### END > #### FEB > *FRESH START CLEAN HOME* > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > #### Total: 1000$ ###### END > #### MARCH > *FRESH START CLEAN HOME* > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > #### Total: 1000$ ###### END > #### APRIL > *FRESH START CLEAN HOME* > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > • Genesis Hand & Body Lotion - 21.75 PV ($21.75) > > #### Total: 1000$ 2. Add a Code Block under 3 Markdowns <style> .markdown-block>div { display: flex; } .markdown-block blockquote { width: 33.33%; background-color: rgba(0, 0, 0, 0.0470588); padding: 30px; text-align: center; } .markdown-block blockquote { width: 33.33%; background-color: rgba(0, 0, 0, 0.0470588); padding: 30px; text-align: center; margin: 10px !important; } #end {display: none;} </style> Demo Page (Pass: abc) Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.