Billy1996 Posted April 23, 2021 Posted April 23, 2021 Site URL: https://giraffe-fife-xnsh.squarespace.com/work Hi, I have tried all suggested code to apply two columns to a portfolio for mobile version but none of them seem to work. I was wondering if other code may be preventing it from working but would love some guidance! Thanks, Billy
tuanphan Posted April 24, 2021 Posted April 24, 2021 On 4/23/2021 at 6:34 PM, Billy1996 said: Site URL: https://giraffe-fife-xnsh.squarespace.com/work Hi, I have tried all suggested code to apply two columns to a portfolio for mobile version but none of them seem to work. I was wondering if other code may be preventing it from working but would love some guidance! Thanks, Billy Add to Design > Custom CSS /* portfolio 2 columns mobile */ @media screen and (max-width:767px) { div#gridThumbs { grid-template-columns: repeat(2,minmax(0,1fr)) !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!)
Billy1996 Posted April 26, 2021 Author Posted April 26, 2021 That is perfect thank you so much Tuanphan!!! For some reason the text overlay wont appear on mobile version (the hover being a sort of fake click) do you have any advice on how to overcome that/if it is possible to have text below just for the mobile version? Thanks again!
tuanphan Posted April 28, 2021 Posted April 28, 2021 On 4/27/2021 at 3:54 AM, Billy1996 said: That is perfect thank you so much Tuanphan!!! For some reason the text overlay wont appear on mobile version (the hover being a sort of fake click) do you have any advice on how to overcome that/if it is possible to have text below just for the mobile version? Thanks again! Remove above & add new code /* portfolio 2 columns mobile */ @media screen and (max-width:767px) { div#gridThumbs { grid-template-columns: repeat(2,minmax(0,1fr)) !important; grid-row-gap: 120px; } .portfolio-text { position: relative !important; opacity: 1 !important; padding-left: 0 !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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.