JayClulow Posted February 13, 2020 Posted February 13, 2020 Site URL: http://www.jayclulow.photography Hi, I've been using the following custom CSS with the Flatiron template to give a wider frame view of my images on desktop .gallery-item{ width:100vw !important; height:100%; position: fixed; left: -300px; /*Change the 300px depending on your template*/ } However because on mobile that left section stacks how can I stop this rule from being applied on mobile? Thanks,
tuanphan Posted February 13, 2020 Posted February 13, 2020 Edit your code to /* run only desktop tablet */ @media screen and (min-width:641px) { .gallery-item { width:100vw !important; height:100%; position: fixed; left: -300px; } } 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!)
JayClulow Posted February 13, 2020 Author Posted February 13, 2020 Tuanphan, Thats awesome thank you. Just one minor glitch it displays incorrectly when resized to roughly tablet size? Thanks,
tuanphan Posted February 16, 2020 Posted February 16, 2020 9 hours ago, JayClulow said: Can Tablet be disabled? edit 641 to 901 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!)
JayClulow Posted February 17, 2020 Author Posted February 17, 2020 On 2/16/2020 at 9:50 AM, tuanphan said: edit 641 to 901 Still doing it unfortantley. Using an iPad Pro its displaying incorrectly.
JayClulow Posted March 4, 2020 Author Posted March 4, 2020 On 2/16/2020 at 9:50 AM, tuanphan said: edit 641 to 901 Hey, Don't suppose you can look into my issue with tablet too could you? Thanks,
Recommended Posts
Archived
This topic is now archived and is closed to further replies.