NO BUG: Adding a link to a button changes the font size

Browser: Chrome 110
OS: Windows

image

I can’t replicate this everywhere but whenever I add a link to a button in this particular section the font size changes, which appears to be because the button tag changes from span to and my variable for text size no longer applies to the button.

I had a similar issue when adjusting border radius of an image, when I added a link to the image the border radius no longer applied and I was able to work around that with custom CSS but I’m hoping there’s a global solution as there are around 600 pages on this site for me to check otherwise >.>

Hi,
can you share a link, where I can compare those two buttons - one with a link and one not, to see the differences why your variable does not apply?

To make the report even better, you can screenshot the button settings - especially the part where you apply the variable.

Thanks.
Matej

https://bricks.grilloliving.com/ - it’s the “How to Buy” section here

Hi,

thank you for the link. You seem to have this .text_center class, that is targeting a elements. And since the button gets a tag, it overrides your font-size that you have set it on a .bricks-button class.

image

Fixing this should solve the problem :slight_smile: I’ll also mark this as a no bug, since it’s not a a bug.


Matej

thankyou for that - I’ll double check the border radius issue I had to see if that’s a similar thing and create a new issue if not.

Ok,

thank you for the response back. Feel free to open new topic, if it’s not the same issue :slight_smile:

Matej