Following up on this post.
https://kriesi.at/support/topic/different-image-caption-hover-setting-for-mobile/
Same deal, accept I want to apply this style to tablet as well.
The original recommendation for mobile was:
@media only screen and (max-width: 767px) {
.av-overlay-on-hover .av-image-caption-overlay {
opacity: 1;
}
}
I increased the max-width to 769px, but it still doesn’t display the caption on iPad.
Hey gerardbao,
Please try this instead:
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.av-overlay-on-hover .av-image-caption-overlay {
opacity: 1;
}
}
Best regards,
Rikard
That helped. But now the hover caption text bleeds outside the box. How can create a special class for this specific set of text?
To make the text fit within the box for tablet, it needs to be this style.
.quote_home {
font-size: 13px;
line-height: 1.7em;
}
The font already looks fine as is on mobile.
Hi,
Add a unique class attribute to the columns or the image element inside. http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Best regards,
Ismael
Got it working. Thanks!