Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 04h 04m 17s
Claim 50% off
Staff replied SP Page Builder

Image border

Asked by Claes 1 year ago Last activity 1 year ago

Hi
I have a landscape image and use "image" as an image media in the section and add a border, eg 1p white, everything is perfect.
But
when I use an image in portrait style (upright) the border enfolds the whole landscape area and not just the image.

Any nice idea to correct this.
//Claes

1 reply

Paul Frankowski Senior Staff
1 year ago · edited

Hi,

Maybe that border is not for image itself, but for Addon area? And this make a difference.
In that case simple CSS may help.


If you are going to use the same border style in more than one addon, or content. You can create a simple Class name with simple CSS (in custom.css), and then just use the same class name everywhere you need to. For common webmaster it's a quick task.

Log in to reply.