I'm trying to figure out images on mobile – since I'd like them to have a good resolution on Retina, I need to upload bigger file and then restrict the size with CSS
Doing so (.my-image {width: 300px}) kinda works but columns are not centered anymore like I want them to be and I can't seem to find a fix.
What would be the appropriate code to keep images centered?
Hi there,
I'm trying to figure out images on mobile – since I'd like them to have a good resolution on Retina, I need to upload bigger file and then restrict the size with CSS
Doing so (.my-image {width: 300px}) kinda works but columns are not centered anymore like I want them to be and I can't seem to find a fix.
What would be the appropriate code to keep images centered?
Thanks so much
Cyril
Hey Again,
Thats not needed. Simply upload them as big as you want and the WP Adaptive Image feature will take care of the rest.
Best
ThemeNectar Support Team
Hi Tahir,
Thanks for your fast answer !
I tried doing so but a 300px wide image displayed at 300px doesn't look good on a retina screen sadly :(
That's why loading a 600px restricted to 300px was my best bet.
We dont recommend adding any amendments as it will likely increase your page load speed.
Best
ThemeNectar Support Team