I am using html to put a transparent logo in the caption area of a fullwidth slider.
The transparent image looks great on the desktop. When it is on a cell phone the image gets pushed in too much on the sides. I have tried to look for a way to reduce the height of the image so it would look good but I can’t get anything to work.
I tried to use this as a base to work with but had no luck making changes to it so it would work for my image I placed in the caption area:
@media only screen and (max-width: 767px) {
.avia-slideshow li img {
width: 90% !important;
max-height: 267px;
}}
Thank you for your help.
Hi Micheal0424,
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
Rikard
Here is the link, thank you.
Hi,
Please try this instead:
@media only screen and (max-width: 767px) {
.avia-caption-content p img {
width: auto !important;
height: auto !important;
}
}
Thanks,
Rikard
Worked perfectly, thank you very much.
Thank you, this is resolved.