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
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
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
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
Thank you Ismael.
Best,
Patrick