Tagged: CSS
After upgrade Special heading element has 0 top margin, which is set via the block editor.
I found, that this settings is apply, but it is overwritten by rule:
body .container_wrap .avia-builder-el-first {
margin-top: ;
}
I have to roll back template to previous used version 4.8.1.
Hi,
Thanks for contacting us!
You can go to Styling > Spacing tab and define custom top margin value to Special Heading element. We have noticed it is being overridden as well but we are going to include a fix in 4.8.4.1.
If you would like to apply the fix, please go to /enfold/config-templatebuilder/avia-shortcodes/heading/heading.php file and find
'container' => ".av-special-heading.{$element_id}",
on line 727 and change it to following
'container' => "#top .av-special-heading.{$element_id}",
Regards,
Yigit
Hi Yigit, thank you, I will wait for 4.8.4.1 before updating my sites. Actually I don’t know how many elements and where can be affected.
Kind regards,
Jiri
Hi Jiri,
Version 4.8.5 is now available, if you want to try to update to that. You might want to update on a staging version of the site first, to make sure everything is working as it should.
Best regards,
Rikard
Hi Rikard,
nice, I can confirm, that issue is resolved. Thank you!
In the element block settings > Styling > Spacing I have set margin-top 40px and other values was blank. Check box “Apply the same value to all?” was not checked. I was wondering why the element is rendered with a margin of 40px on all sides. Maybe it’s a feature, not a bug, but I guess this has only changed now.
After I set values 40px 0 0 0 I have got the original desired view.
Many thanks,
Jiri
Hi Jiri,
We are happy to hear that :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko