• Hi,

    After installing plugin here is what happened to background images, some extra quotation marks were included and it broke it.

    style="background-image:url(https://res.cloudinary.com/journey-school/image/upload/v1548370071/Arts-crafts-background-2_vtxye4.jpg');""

    And worse, I deactivated it and it did not go back to normal.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Stefano Monteiro

    (@stemon)

    I managed to change theme code and fix issue, still would like to find out why it happened.

    ******
    Issue 2:
    Background-Images are not being lazyloaded, I added the data-bg attribute and it is not working.

    http://journeyschoolfranchise.com/

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hey @stemon,

    to your first issue: I have no idea why that could be caused by the Lazy Loader, as it does nothing with background images automatically (and don’t uses regular expressions to modify markup that could go wrong)… Happy that you resolved it.

    To your second issue: as far as I can see, the script runs on the section elements with your data-bg attributes, however, to make it work correct, the background images need to be removed from the normal style attribute (the background-image rule is present there, too).

    Hope that helps,
    Florian

    Thread Starter Stefano Monteiro

    (@stemon)

    Hi Florian, Thanks for quick response. I hadn’t realized we had to remove the bg-img, it does make sense tho.

    Unfortunately, It didn’t work for all elements. I have just sent few hours trying to figure it out, but if you could help me out here.

    The section element id=bt_section5c4c93b7208d3, has for column each with a bg-img but none is being uploaded.

    Thanks again

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hi,

    do you mean the elements »Training«, »License«, et cetera? They do not have the lazyload class, as far as I can see. Adding it should fix it.

    Best,
    Florian

    Thread Starter Stefano Monteiro

    (@stemon)

    Brilliant, it did!!!

    Thank you very much!!

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    You’re welcome, happy that it works now! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘It broke background-images’ is closed to new replies.