mrjack16 Posted November 25, 2019 Share Posted November 25, 2019 I've seen other website builders that allow you to create an empty container object and then place other objects within it to keep them grouped as a unit. I'm wanting to put some text, an image and a button in a container and style the container background to create a "card" effect. I assume this is possible with a code block but I'd prefer something that's easier to edit since I'll be making changes to these somewhat frequently. Link to comment
tuanphan Posted November 25, 2019 Share Posted November 25, 2019 Have you tried Image Block yet? or style column 😄 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
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 3 minutes ago, tuanphan said: Have you tried Image Block yet? or style column 😄 Image Block doesn't provide the exact layout I need. What is style column? Link to comment
tuanphan Posted November 25, 2019 Share Posted November 25, 2019 5 minutes ago, mrjack16 said: Image Block doesn't provide the exact layout I need. What is style column? Which layout? Can you post an example? 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
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 1 minute ago, tuanphan said: Which layout? Can you post an example? This is the page: https://blenny-oarfish-24kk.squarespace.com/get-involved Password: blenny I need to style each group of items here as a card with rounded corners. Link to comment
tuanphan Posted November 25, 2019 Share Posted November 25, 2019 div#page-5c4b76d0898583b89b348bb0 .span-4 { border: 1px solid #fff; box-sizing: border-box; border-radius: 10px; padding: 10px; background: #f5f7; } You mean like that? 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
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 1 minute ago, tuanphan said: You mean like that? Exactly like that! How would I add some outside padding on these? Link to comment
tuanphan Posted November 25, 2019 Share Posted November 25, 2019 8 minutes ago, mrjack16 said: Exactly like that! How would I add some outside padding on these? div#page-5c4b76d0898583b89b348bb0 .span-4 { border: 1px solid #fff; box-sizing: border-box; border-radius: 10px; padding: 10px; background: #f5f 7; width: 30%; margin: 2% 1.5%; } play with width and margin 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
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 Thank you! I think this will work out perfectly. Link to comment
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 Well, in typical squarespace fashion, it seems that editing the page results in breaking the div targeting. Can you tell me where to find the correct ID to update the CSS? I'm not sure what I'm looking for. Link to comment
tuanphan Posted November 25, 2019 Share Posted November 25, 2019 6 minutes ago, mrjack16 said: Well, in typical squarespace fashion, it seems that editing the page results in breaking the div targeting. Can you tell me where to find the correct ID to update the CSS? I'm not sure what I'm looking for. I don't quite understand your question... 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
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 I removed the line blocks that were separating each section and it broke the CSS I just added so the new style is missing. Is it the the "div#page-5c4b76d0898583b89b348bb0" or ".span-4" that changed? I don't know but I need to know how to update the CSS whenever I make changes to this page. Link to comment
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 Nevermind, it came back. Sorry I think maybe my browser just needed to be reloaded. Link to comment
mrjack16 Posted November 25, 2019 Author Share Posted November 25, 2019 I'm 99% there... one more question, how that I have the margin and padding where I want it, what's the preferred method of getting everything centered on the page? Link to comment
tuanphan Posted November 25, 2019 Share Posted November 25, 2019 5 hours ago, mrjack16 said: I'm 99% there... one more question, how that I have the margin and padding where I want it, what's the preferred method of getting everything centered on the page? play with padding left /* Desktop */ @media screen and (min-width:901px) { div#page-5c4b76d0898583b89b348bb0>.row>.col>.row { padding-left: 3%; } } /* Tablet */ @media screen and (min-width:641px) and (max-width:900px) { div#page-5c4b76d0898583b89b348bb0>.row>.col>.row { padding-left: 3%; } } or use flexbox @media screen and (min-width:641px) { div#page-5c4b76d0898583b89b348bb0>.row>.col>.row { display: flex; justify-content: space-between; } } justify-content can be space-between or center or space-around 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
mrjack16 Posted November 26, 2019 Author Share Posted November 26, 2019 Thank you, @tuanphan! I appreciate your help very much. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.