iamRob Posted January 23, 2021 Share Posted January 23, 2021 Hi, I was wondering if it's possible to create this kind of layout with the portfolio grid:https://youth.studio/work/ I already got it to display the project as 1 column using this custom css (But it seems a bit buggy. It randomly jumps back to 2 columns): /* change portfolio grid to 1 column */ div#gridThumbs { grid-template-columns: repeat(1,minmax(0,1fr)) !important; } Is it possible to get the text on the left of the image, something of a divider and then the image on the right? Thanks in advance! (My site isn't published yet so I don't know how to share it here :-( Link to comment
tuanphan Posted January 24, 2021 Share Posted January 24, 2021 19 hours ago, iamRob said: Hi, I was wondering if it's possible to create this kind of layout with the portfolio grid:https://youth.studio/work/ I already got it to display the project as 1 column using this custom css (But it seems a bit buggy. It randomly jumps back to 2 columns): /* change portfolio grid to 1 column */ div#gridThumbs { grid-template-columns: repeat(1,minmax(0,1fr)) !important; } Is it possible to get the text on the left of the image, something of a divider and then the image on the right? Thanks in advance! (My site isn't published yet so I don't know how to share it here :-( Hi. You can setup password & share url. 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!) Link to comment
tuanphan Posted January 24, 2021 Share Posted January 24, 2021 19 hours ago, iamRob said: Hi, I was wondering if it's possible to create this kind of layout with the portfolio grid:https://youth.studio/work/ I already got it to display the project as 1 column using this custom css (But it seems a bit buggy. It randomly jumps back to 2 columns): /* change portfolio grid to 1 column */ div#gridThumbs { grid-template-columns: repeat(1,minmax(0,1fr)) !important; } Is it possible to get the text on the left of the image, something of a divider and then the image on the right? Thanks in advance! (My site isn't published yet so I don't know how to share it here :-( Hi. You can setup password & share url. 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!) Link to comment
iamRob Posted January 24, 2021 Author Share Posted January 24, 2021 Hi Tuanphan, I figured out how to share the url 🙂https://grasshopper-flamingo-5a5p.squarespace.com/fotostyling PW: TryMe Link to comment
tuanphan Posted February 1, 2021 Share Posted February 1, 2021 On 1/24/2021 at 1:13 AM, iamRob said: Hi Tuanphan, I figured out how to share the url 🙂https://grasshopper-flamingo-5a5p.squarespace.com/fotostyling PW: TryMe Hi. Website Expired This account has expired. If you are the site owner, click below to login. You can contact Squarespace Customer Care to extend trial (free) 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!) Link to comment
iamRob Posted February 7, 2021 Author Share Posted February 7, 2021 Hi Tuanphan, Something went wrong with my trial at Squarespace. They fixed it yesterday so everything is working again. Link to comment
tuanphan Posted February 8, 2021 Share Posted February 8, 2021 Add to Design > Custom CSS @media screen and (min-width:768px) { div#gridThumbs { grid-template-columns: repeat(1,1fr); } a.grid-item { flex-direction: row-reverse !important; margin-bottom: 50px; align-items: flex-start !important; } .portfolio-text { margin-top: 0 !important; } .grid-image { width: 50% !important; } .portfolio-text { text-align: left !important; width: 100%; } } 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!) Link to comment
iamRob Posted February 8, 2021 Author Share Posted February 8, 2021 Hi @tuanphan This worked like a charm! I just tweaked the measurements a bit to get the right look & feel. Thank you! This was really helpful and much appreciated Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.