Bug image resolution overlay
-
Hello,
We are having an issue on our website and we don't know how to fix it.
Site : http://nwb-studio.com/We would like to upload images with a better resolution for overlay pictures on the homepage. It works fine with standard desktop screen but it seems low res on retina devices.
Do you have any advice for us :) ?
Best,
Ben
-
-
Hi Marius,
Thx for your quick feedback :)
Please find below the code :
a.cahiercentral:hover:after {
content: url(http://nwb-studio.com/wp-content/uploads/2019/04/Logo-3D-Rotation.gif);
display: block;
}I can't find the way to enclose the images inside a block with defined dimensions, so I created every image with the same height to make it look like I did. Thus I can't get images two times bigger like I'd normally do for retina screens, because they won't be resized by any block and would be way too big.
Thx !
-
Dear @Ben
do you know this?
https://www.w3schools.com/css/css3_object-fit.asp
Best!Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it