Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1202623

    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"

    ?

    #1202879

    Hey Artur667,

    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.

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.