
-
AuthorPosts
-
August 23, 2025 at 1:43 pm #1488444
Hey,
An SVG image is embedded in a grid cell. The display is relatively small, even though there is plenty of space around the cell.
How can I control the size of the image?thanks
===================
Größe des Bildelements in einer RasterzeileIn einer Rasterzelle ist ein SVG-Bild eingebunden. Die Darstellung ist relativ klein, obwohl rundum noch viel Platz ist der Zelle ist.
Wie kann ich die Grösse des Bildes beeinflussen?danke
August 24, 2025 at 11:49 am #1488460Hey solf,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#av-layout-grid-1 .avia-image-container .avia-image-container-inner img { height: 100%; width: 100% !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeAugust 25, 2025 at 7:58 pm #1488501Hey Mike,
Thank you.
The graphic is too large at 100%.
I’ve now set the height/width to 60%.
But that makes the graphic shift from the center…?!
Since I need to set other graphics to a different value, I need to be able to set the size settings individually.
best regards, solf
===
Danke. Mit 100% ist die Grafik zu gross.
Ich habe height /width nun auf 60% gesetzt.
Damit rutscht die Grafik allerdings aus der Mitte…?!
Da ich andere Grafiken auf einen anderen Wert setzen muss, müsste ich die grössenangaben individuell setzen können.
mfg, solfAugust 25, 2025 at 11:04 pm #1488506August 27, 2025 at 6:31 am #1488578Hi Mike,
thank you.
1. #av-layout-grid-1 .avia-image-container .avia-image-container-inner img .customclass?
2. How can I prevent the graphic from slipping out of center?greetinx, solf
August 27, 2025 at 7:37 am #1488586Hi,
Thank you for the update.
1.) The selector would be “#top .avia-image-container.customclass .avia-image-container-inner img” since the custom class is applied to the parent container.
2.) Set the margin to “0 auto” to align the image to the center.
#top .avia-image-container.customclass .avia-image-container-inner img { margin: 0 auto; }
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.