Tagged: Masonry Gallery
-
AuthorPosts
-
September 3, 2023 at 3:32 pm #1417950
Hello,
on a Masonry Gallery I would like to adjust Title & Content as caption.
Both Title and Content can appear in 1 or 2 lines.
However, I cannot get everything, including the text background, to appear the way I want (see attachment).I have defined the CSS class “schallschutz” as follows:
#top . schallschutz .av-inner-masonry-content .av-masonry-entry-title {
position: absolute;
bottom: 25px;
text-align: left;
font-size: 20px!important;
padding: 3px;
}#top .schallschutz .av-inner-masonry-content .av-masonry-entry-content {
position: absolute;
bottom: 3px;
text-align: left;
padding: 3px;
font-size: 16px!important;
}The whole thing also seems to be related to the image size. However, I cannot find a comprehensible way to do this. No matter what I set, it never appears as desired.
It would be nice if you could enter the correct settings directly on the page
, which is set up as a draft.
Many thanks –
KR – Marc
September 3, 2023 at 10:32 pm #1417988Hey Marc,
Thanks for the link to your site, I modified your css and I think it’s the way you wanted it.
Please clear your browser cache and check.Best regards,
MikeSeptember 7, 2023 at 9:32 am #1418345Hi Mike,
Sorry for my late response. I just had to jump on another project urgently.In principle, you had already implemented it quite well. However, unfortunately it still doesn’t fit.
I have now set the correct font sizes and spacing. What remains, however, is the problem with the background. The title can sometimes be 2 lines long. In this case, however, the area in the background would have to be higher (including responsivity). I have made a layout for this so that you know what I mean.
Would you look at it again? Thank you very much.
KR – Marc
September 8, 2023 at 3:20 am #1418418September 8, 2023 at 8:47 am #1418423Yeah – that’s it! :-)
Thank you so much, Mike.
Have a great weekend –
Marc :-)
September 8, 2023 at 11:46 am #1418447Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Correct settings for captions / Masonry Gallery’ is closed to new replies.