As you can see in the images below, the corner radius of 24 px is shown in the image, but it doesn’t actually bend the corners as it should. I have this problem with every image on my website, and even when I publish a page, the corners are still the same. Did anyone else have this problem too?
Hey @NickRensen my guess is that there’s some css in the theme’s stylesheets overriding this, do you have a link to a page that’s showing this by any chance and I can take a look?
Is this the default image module you’re using or is this a custom module?
One quick workaround would be to add custom css to the head of your page something like:
span#hs_cos_wrapper_dnd_area-module-16_ img.hs-image-widget { border-radius: 24px; }
If it is the default module however that does seem to be an issue with HubSpot.
@TomM2 Yeah, very strange. If you find a solution, please let me know!
I will try to contact Hubspot, but I still have a free account, so I am not sure if I can haha. Otherwise, I solve this later.
@NickRensen you can solve it currently by adding custom css to the site (mentioned the code in my initial comment).
I opened a ticket with HS support who told me is was “works as designed” but I’m pushing back a bit since I don’t see any reason why you’d want a completely useless border radius field if it was designed that way.
Adding overflow:hidden to the container where the border-radius CSS property is applied ensures that it actually rounds the corners.
Setting the <img> inside the tag to block ensures that there isn’t at the gap at the bottom. In my case, they were “inline” by default and most browsers will cause the container to have some added space at the bottom, thus causing the bottom corners to not show the rounding.
I always use the Boilerplate theme from Hubspot by default… so for the life of me I can’t understand how not showing the effect from the Styles tab is the intended effect…