tuanphan Posted November 30, 2021 Share Posted November 30, 2021 On 11/28/2021 at 2:48 PM, Winther said: @tuanphan here you go. Password: 1234567 https://plane-dolphin-phrx.squarespace.com/ The site looks fine here. Which glitch? 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
Guest Posted November 30, 2021 Share Posted November 30, 2021 @tuanphan perhaps it is has something to do with squarespace updates. There have been some changes lately, coz your are absolutely right. It looks fine here also. Sorry for the inconvenience. 🙏 Take care and thanks for your time. Link to comment
nahlah Posted October 6, 2023 Share Posted October 6, 2023 On 2/20/2020 at 7:32 AM, tuanphan said: Add to Home > Design > Custom CSS @media screen and (max-width:640px) { figure.gallery-masonry-item { width: 50% !important; float: left !important; transform: unset !important; position: initial !important; } figure.gallery-masonry-item img { width: 100% !important; } .gallery-masonry-item-wrapper { height: auto !important; } } Is there a way to apply this concept to a masonry blog Link to comment
tuanphan Posted October 9, 2023 Share Posted October 9, 2023 On 10/6/2023 at 9:37 PM, nahlah said: Is there a way to apply this concept to a masonry blog Can you share link to a blog page? We can tweak the code easier 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
nahlah Posted October 10, 2023 Share Posted October 10, 2023 On 10/9/2023 at 5:42 AM, tuanphan said: Can you share link to a blog page? We can tweak the code easier yes of course, the link is https://faceoflove.co/diary Link to comment
tuanphan Posted October 12, 2023 Share Posted October 12, 2023 On 10/10/2023 at 11:38 PM, nahlah said: yes of course, the link is https://faceoflove.co/diary Try this CSS Code @media screen and (max-width:640px) { div#BlogMasonryContainer { columns: 2; column-gap: 0; height: auto!important; display: block!important; padding: 0 5px; } div#BlogMasonryContainer article { position: relative!important; transform: none!important; width: 100%!important; display: block; padding: 5px!important; box-sizing: border-box; } div#BlogMasonryContainer article img { height: 100%!important; width: 100%!important; }} 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
nahlah Posted October 13, 2023 Share Posted October 13, 2023 22 hours ago, tuanphan said: Try this CSS Code @media screen and (max-width:640px) { div#BlogMasonryContainer { columns: 2; column-gap: 0; height: auto!important; display: block!important; padding: 0 5px; } div#BlogMasonryContainer article { position: relative!important; transform: none!important; width: 100%!important; display: block; padding: 5px!important; box-sizing: border-box; } div#BlogMasonryContainer article img { height: 100%!important; width: 100%!important; }} Link to comment
tuanphan Posted October 15, 2023 Share Posted October 15, 2023 On 10/13/2023 at 7:39 PM, nahlah said: What is problem? 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
NicoleDagnyx Posted October 17, 2023 Share Posted October 17, 2023 (edited) Did we find a solution to reducing the gap in the first column when landscape images are used? @tuanphan This is what the mobile version of the masonry gallery looks like. I'm really happy with it except for the gaps in the first column. This is the code I've used: @media screen and (max-width:640px) { figure.gallery-masonry-item { width: 50% !important; } figure.gallery-masonry-item img { width: 100% !important; } .gallery-masonry-item-wrapper { height: auto !important;} figure.gallery-masonry-item { float: left !important; transform: unset !important; position: initial !important; padding: 10px!important; box-sizing: border-box; } } Can anyone help me further with this? Edited October 18, 2023 by NicoleDagnyx Link to comment
NicoleDagnyx Posted October 18, 2023 Share Posted October 18, 2023 Surprisingly I figured it out 😂 Here's the code I used if anyone is interested! @media screen and (max-width:767px) { .gallery-masonry .gallery-masonry-item img { height: 100%!important; width: 100%!important; } .gallery-masonry .gallery-masonry-wrapper { columns: 2; column-gap: 20px; padding: 0px; height: auto!important; display: block!important; } .gallery-masonry-item-wrapper { height: auto!important; } .gallery-masonry-item { position: relative!important; padding-bottom: 20px!important; transform: none!important; width: 100%!important; display: block; } } Link to comment
nahlah Posted October 20, 2023 Share Posted October 20, 2023 On 10/15/2023 at 4:54 AM, tuanphan said: What is problem? it's not really lining up and the images are mostly cut off Link to comment
Huib Posted January 8 Share Posted January 8 (edited) Hi @tuanphan, I'm trying to create a two column masonry view for my blog for mobile, is there way to help me? www.studioswoop.nl/blog key; !Uchtball0n thanks in advance Edited January 8 by Huib Link to comment
tuanphan Posted January 10 Share Posted January 10 On 1/8/2024 at 9:46 PM, Huib said: Hi @tuanphan, I'm trying to create a two column masonry view for my blog for mobile, is there way to help me? www.studioswoop.nl/blog key; !Uchtball0n thanks in advance Use this CSS code @media screen and (max-width:767px) { div#BlogMasonryContainer { columns: 2; column-gap: 0; height: auto!important; display: block!important; padding: 0 5px; } div#BlogMasonryContainer article { position: relative!important; transform: none!important; width: 100%!important; display: block; padding: 5px!important; box-sizing: border-box; } div#BlogMasonryContainer article img { height: 100%!important; width: 100%!important; } } Huib 1 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
Huib Posted January 10 Share Posted January 10 Wauw @tuanphan, this is really helpfull. Is there a way to keep the original width of the image instead of the orginal heigth? Wish Current Link to comment
tuanphan Posted January 12 Share Posted January 12 On 1/10/2024 at 4:47 PM, Huib said: Wauw @tuanphan, this is really helpfull. Is there a way to keep the original width of the image instead of the orginal heigth? Wish Current I can't find a way to fix this. You try posting question in new thread. You can get help easier 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
Huib Posted January 19 Share Posted January 19 Okay Thanks for your help anyway @tuanphan !! 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