Tagged: caption, image, overlay, responsive, text
-
AuthorPosts
-
September 21, 2016 at 7:00 pm #689965
The text in the caption overlay is not responsive. It spills out of the boxes onto the design elements below.
My homepage has a grid row with photos. I originally set up the text as 24px with up to six lines of text. It looked great on my widescreen 16:9 monitor. Then I discovered it was spilling out of the boxes when viewed on anything else: standard 4:3 monitors, tablets, mobiles, and just when minimizing the screen on the 16:9 monitor. This happens whether I have the caption set to be visible only on hover or be visible always.
I’ve done a quick fix for 4:3 desktops by pulling the size down to 20px and cutting the number of lines. But I want a permanent fix that will work across all devices.
I generally like Enfold a lot, but I’m disappointed this is happening. Enfold is supposed to be fully responsive. Yet here’s an element as fundamental as the text in image captions that’s failing to respond.
September 23, 2016 at 6:03 am #690494Hey missouriartscouncil,
Could you post a link to the site in question so that we can take a closer look please?
Regards,
RikardSeptember 23, 2016 at 4:10 pm #690870September 23, 2016 at 5:04 pm #690913Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 768px) { .av-image-caption-overlay-center p { font-size: 14px; line-height: 20px; }}Cheers!
YigitSeptember 23, 2016 at 5:33 pm #690936Yigit, what is that code actually going to command to take place?
September 23, 2016 at 5:38 pm #690940Hi!
It will decrease font size and line height of captions on screens smaller than 768px
Regards,
YigitSeptember 23, 2016 at 6:29 pm #690966I will try it, thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.
