How to customize a marquee to scale in percentage instead of pixels?
-
i would like to make a fullscreen marquee that scales with changing screen size. unfortunatly you can only type in certain pixel hights instead of percentage.
-
i think its not possible no?
-
if you have text in it, maybe use a textformat that has a % based fontsize
but u're probably talking about images -
Hi Armin.
Thanks for your reply! Yes the marquee just consists of images. Is there a way to change the height from lets say 100px to 100% or 100vh with custom css?
Greetings from Halle 👋
-
yes, i am only talking about images!
-
not sure if this works too well:
.lay-marquee img { height: 10vw !important; width: auto !important; }
3/6
Need custom programming for your Lay Theme site?
I regularly add new features to Lay Theme for free, based on user feedback. But if you or your client need something more specific, I’m happy to offer custom paid programming tailored to your project.
Email info@laytheme.com with the subject "Custom paid programming for Lay Theme" and a short description of what you need — I’ll reply with a cost estimate.
Custom features I build often make it into future Lay Theme updates, so your idea might benefit the whole community.
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