- Issue created by @tzsl
- Assigned to flashwebcenter
- Status changed to Fixed
10 months ago 9:06pm 13 February 2024 - πΊπΈUnited States flashwebcenter Austin TX
Hello Theo,
The functionality allows images to enlarge to fill 100% of their container space exclusively when nested within a hyperlink. Should the hyperlink be removed, the images will revert to their initial dimensions. This feature was implemented to enhance the interactive experience by enlarging images within clickable links. It's designed to function in this manner.
However, if you prefer to deactivate this feature, you can do so by navigating to your-site.com/admin/appearance/settings/solo. Once there, locate the "Page Wrapper" section and expand it. Then, simply add the CSS class "image-auto" to the "CSS Classes" field. This adjustment will disable the automatic enlargement of images within links.
In the theme js/solo-scripts.js the user picture is excluded but now, I updated this code snippet uses the :not([class*="icon"]) selector to exclude any or
elements that have a class containing the substring "icon". This covers cases where the class is exactly icon, as well as cases where "icon" is part of a larger class name, such as language-icon or money-icon."Additionally, if you prefer the current functionality, your existing setup is also an excellent choice."
Best Wishes,
Alaa Automatically closed - issue fixed for 2 weeks with no activity.