Height of marquees relative to screen
-
-
@KW1 you can work with vh value (viewport height). You can give the marquees a custom class and then add the custom style.
Example CSS for 5 marquees:
.marquee{height: 20vh;}
Learn more:
https://laytheme.com/documentation/custom-css-styling.html -
ah clever! did that work?
-
Thanks for the feedback, I also thought for a moment that I had the solution! Unfortunately, I have the feeling that the border specifications of the marquees, which you can set under the marquee setting, get in the way. It would be perfect if you could specify other values apart from px to make it a percentage of the screen. The 20vh creates gaps where my background colour shows through, but the marquee size itself remains unchanged. Does anyone have any ideas?
-
hey i will look into this now
-
ok if you update lay theme now:
Marquees can now have "vh" height. Also Space below and Space above can be set in vh now. This way you can have for example 5 marquees on top of another that each have 20vh height. This way they will always fill up the whole screenheight.
-
omg — thats so nice! What a support, thank you! I will check it...
-
Hi Armin, I have updated everything and I can also set vh as a value, thanks a lot for your quick action! Unfortunately, the content of the marquees does not change with the value, it actually gets smaller. Do you know the reason for this?
-
do u have a link?
for me it works -
make sure to remove your custom css you added before
1/10
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it