DevDotEXE Posted July 19, 2021 Share Posted July 19, 2021 Site URL: https://watermelon-koala-napg.squarespace.com/bio-archidex password: singularity Hello! I'm trying to find a way to make the three buttons on the bottom of the right column ("<", "Get Archidex", and ">") to all float left and have a set pixel distance from one another that stays relative with content differences (I'll be using this code on many pages). So, all three will be pushed left in that column and be ~10px apart regardless of text length. I've tried width: fit-content with float: left, but that doesn't seem to achieve what I want. Any help would be enormously appreciated. Page-specific code is in a block at the bottom of the page above the footer. Thanks! Link to comment
IgnitePerth Posted July 22, 2021 Share Posted July 22, 2021 (edited) the value you want is max-content, not fit-content. I don't think you'll need to declare the float if you just set that. The below will change that for ALL buttons inside content (with the class button-col). .content .button-col { width: max-content !important; } Edited July 22, 2021 by IgnitePerth clarification of class .button-col tuanphan 1 Contact Us for detailed help Common Squarespace Tips Sharing Your Site Link Squarespace web designers in Perth WA. Link to comment
tuanphan Posted July 24, 2021 Share Posted July 24, 2021 On 7/20/2021 at 12:59 AM, DevDotEXE said: Site URL: https://watermelon-koala-napg.squarespace.com/bio-archidex password: singularity Hello! I'm trying to find a way to make the three buttons on the bottom of the right column ("<", "Get Archidex", and ">") to all float left and have a set pixel distance from one another that stays relative with content differences (I'll be using this code on many pages). So, all three will be pushed left in that column and be ~10px apart regardless of text length. I've tried width: fit-content with float: left, but that doesn't seem to achieve what I want. Any help would be enormously appreciated. Page-specific code is in a block at the bottom of the page above the footer. Thanks! On 7/20/2021 at 12:59 AM, DevDotEXE said: Site URL: https://watermelon-koala-napg.squarespace.com/bio-archidex password: singularity Hello! I'm trying to find a way to make the three buttons on the bottom of the right column ("<", "Get Archidex", and ">") to all float left and have a set pixel distance from one another that stays relative with content differences (I'll be using this code on many pages). So, all three will be pushed left in that column and be ~10px apart regardless of text length. I've tried width: fit-content with float: left, but that doesn't seem to achieve what I want. Any help would be enormously appreciated. Page-specific code is in a block at the bottom of the page above the footer. Thanks! Do you need to help with these? Site URL – https://watermelon-koala-napg.squarespace.com/?password=singularity 1. (Tablet-Homepage) Increase text width? https://watermelon-koala-napg.squarespace.com/?password=singularity 2. (Tablet-Homepage) Increase text width? https://watermelon-koala-napg.squarespace.com/?password=singularity 3. (Table-Homepage) Resize it? https://watermelon-koala-napg.squarespace.com/?password=singularity 4. (Mobile-Homepage) Resize it? https://watermelon-koala-napg.squarespace.com/?password=singularity Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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