Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #991520

    Hi,

    If I don’t set a background-image on a section, enfold still sets an empty background-image property. This is marked as error in the w3c validator. Is it possible to fix that?

    Best,
    Patrick

    #991937

    Hey ResonanzMarketing,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? Which page is it happening on?

    Could you please enable the Advanced Layout Builder debug mode. Here is how to do it:

    Best regards,
    Victoria

    #991943

    You can check it on your own website (https://kriesi.at/themes/enfold-overview/). Each section element which has no background-image set has an empty background-image property.

    <div id="av_section_2" class="avia-section main_color avia-section-small avia-no-border-styling avia-bg-style-scroll avia-builder-el-3 el_after_av_section el_before_av_masonry_entries container_wrap fullsize" style="background-image: ">

    Best,
    Patrick

    #992250

    Hi,

    Thanks for the info.

    We’ll forward this issue to the team. Please edit the config-templatebuilder > avia-shortcodes > section.php, line 827.

    if($background) $background = "style = '{$background}'";
    

    Replace it with..

    if($src != "") $background = "style = '{$background}'";
    

    Best regards,
    Ismael

    #993139

    Thank you Ismael.
    Best,
    Patrick

    #993190

    Hi,

    You’re welcome. Please let us know if you need anything else. :)

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Empty background-image property on each section element’ is closed to new replies.