I first tried the module with bootstrap
B3 theme and the WhatsApp link was on the button only working as expected. Then I added the module on a different website using Bootstrap Barrio B5 theme and I placed the WhatsApp button in the 'Footer fifth' block region. The WhatsApp link now spans the entire width of the block region running across the full width of the website.
I checked and found that width: 100%;
declaration from the Bootstrap .row
class was overriding this style in the module,
.block-whatsapp-button {
[...]
width: fit-content;
}
Add !important
annotation to the width: fit-content;
declaration, to make sure the WhatsApp link always stay within the button.
Active
1.0
Code