fluid font size / fixed text format by changing browser size
-
Hi,
Im new into Lay theme and try my first steps.
I want to to do an basicly 2 column layout, one column the caroussel with slideshow, next to it in same row the description text.Now, when I change the browser size, the caroussel is fluidly changing its size, but the text remains in its given font size. This is leading to an unproportinal layout by having a mini-slideshow and a 2 or 3 words a line broken text next to it.
how is the way to have a fluid textsize. or a fixed textformat, which relativly changing its size by changing the browser size?
i hope it is understandable.
thank you in advance.robert
-
Hi @ontherun
yes. The text does not change its size proportionally.
Sometimes that is a good setup. But mostly it is not the desired effect.Anyway. You can achieve that by adding some CUSTOM CSS.
._Default { font-size: 2vw; }
This is making the default text format always in 2% size of the window width.
You can play around with that.
Hope I could help!
Best!
Marius
-
Thanks for the quick reply.
At which position do I set this command.
Just Custom Css, and add the command?Thank you.
-
Before you post
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it