SVG mouse cursor for the carousel
-
🤔I understand…
The carousel plugin seems to not accept SVGs as images – which looks like a simple issue to me that might be fixable via an update (am I right @mariusjopen, @arminunruh?).
So long you could also try to overwrite the cursors via custom CSS and embed the SVGs you’d like to use there. Or try to paste the SVG’s path directly into custom CSS.
It might work with something along these lines:
/*replace lorem with the paths to your svgs!*/ .lay-carousel.cursor-right { cursor: url("lorem") !important; } .lay-carousel.cursor-left { cursor: url("lorem") !important; }
PS:
It looks to me you have fixed it by now with a different SVG, right? -
Dear @Marcol
yes @edgrbnz you are right. It does not support SVG images.The best is to have a quick look here:
https://flickity.metafizzy.co/This is the carousel we use.
You can add a SVG path though.I will check with Armin about that.
Best!
Marius
-
Cool! Hope it will work!
-
@mariusjopen Many thanks :)
-
Dear @12b
I think in laytheme it needs to exist as image otherwise you cannot treat it like an image.But as CUSTOM HTML element you can sue SCH Code as well.
Best!
Marius
-
@mariusjopen It's been a while – but I wonder if it's possible now to use SVGs as Mouse Coursers for the carousel. I cannot code myself, so I wonder if it's a feature now?
-
yes its possible
http://laythemeforum.com:4567/topic/5190/svg-cursors-fix/17
u can just set a .svg image for any cursors for the addons
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