Hi, after creating masonry gallery, single image look like this:
<div class="av-masonry-image-container" style="background-image: url(###);" title="TITLE"></div>
is there a way to add (only to the code, I don’t want it to show on frontend) ALT TEXT:
alt="this is standard ALT text from WP"
The background-image property doesn’t support that argument: https://www.w3schools.com/cssref/pr_background-image.asp. So there not much point in adding that to be honest with you. Divs don’t have alt either.
You must be logged in to reply to this topic.