Quantcast
Viewing all articles
Browse latest Browse all 1957

General Questions/New to Joomla! 4.x • Re: Text over image in JCE

The only trouble is that these images get displayed in a category blog-styled view, the images get resized and placed at different points, so this would not work for this. Is there a way to do the same thing, but resize dynamically based on the picture size, rather than the window size?
Hi @williama.

Yes, there is such a way. Using @container instead of @media and/or min(), max(), clamp() functions for font size.

https://developer.mozilla.org/en-US/doc ... er_queries
https://youtu.be/U9VF-4euyRo?si=08NTedsVRIizuuKO
https://youtu.be/3_-Je5XpbqY?si=3lFol6h69NjWgoQX


To ensure that the text resizes dynamically with the image as the window size changes, you will need to use responsive CSS. This involves setting the font size using viewport units, which scale based on the size of the viewport (the visible area of the web page)....
Looks like an answer from AI Image may be NSFW.
Clik here to view.
:D

Statistics: Posted by Pavel-ww — Tue Apr 23, 2024 7:39 am



Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>