Plugin Author
Miles
(@areoimiles)
Hi @waldirb
Thank you for flagging this. So, these styles were required when the plugin was initially built with Bootstrap 5.0.2. In this version of Bootstrap they didn’t use border top, instead they used background colour for the <hr>
. These styles were needed to override the default styles applied by WordPress on the Separator block and make sure the Bootstrap styles worked as intended.
In later versions of Bootstrap they introduced a border to the top of the <hr>
. Unfortunately, to make sure that this works for people still using Bootstrap 5.0.2, I can’t remove these styles entirely. However, I have released an update where I have removed !important
from each style to make it possible to apply the border top via the Additional CSS classes field.
Because WordPress adds default styles to the separator block, the Bootstrap borer style will be overridden by default as these styles are added after the Bootstrap CSS. To resolve this you can select the Separator block and in the settings panel go to Advanced and then include border-top
within the Additional CSS Classes field. This approach will override the default WordPress styling as well as override the default All Bootstrap Blocks styling that is in place for v5.0.2.
I hope this all makes sense and helps you resolve your issue. However, if it does not please don’t hesitate to get back in touch.
Thanks
Miles
This is a great fix, thank you, Miles!