Billy1996 Posted April 23, 2021 Share 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 Link to comment
tuanphan Posted April 24, 2021 Share 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 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
Billy1996 Posted April 26, 2021 Author Share 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! Link to comment
tuanphan Posted April 28, 2021 Share 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 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