Tagged: caption title, enfold, Masonry Gallery, mobile
Hi,
I’m basically looking to find a tweak for the solution from this forum:
https://kriesi.at/support/topic/hide-masonry-gallery-captionon-mobile-devices/
So the above solution works perfectly at removing the caption completely from masonry gallery elements on mobile. However, I would like the caption title still to be visible. i.e. I want to disable only the caption excerpt, not the entire caption completely.
The code from the solution above is this:
@media only screen and (max-width: 767px) {
figcaption.av-inner-masonry-content {
display: none!important;
}}
Can anyone suggest a tweak to this code that still leaves the caption title as visible?
Thx!
Hey sheilaregan,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) {
.av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content {
display: none;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi Viktoria,
It worked perfectly. Thanks so much!
You can now mark this topic as resolved.
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon