Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

LightSlider - is it possible to apply CSS?

Solved by Oona O'Neil View solution

Started by Oona O'Neil 9 years ago · 3 replies · 838 views
9 years ago

Is it possible to apply CSS in the LightSlider in order to change font style and size? Is it possible to add a Fontawsome icon?

I couldn't find any place to do that. Even when trying to style in Markdown (md) file by adding "#" for "h1", etc. it's not applying changes but displaying the symbol. Wondering if it makes sense to dig further or rather to switch to Shortcode Owl Carousel.

9 years ago

Really the best way is to add your own css in your theme. You can create your own lightlslider css file with with whatever customization you like. You can also disable the built-in CSS if that's getting in your way: https://github.com/getgrav/grav-plugin-lightslider

👍 1
9 years ago

I'm using my own theme, but I could not find the css file in the plugin where I could apply styling on the text inside the slide.

9 years ago Solution

I've read the documentation again and realised I didn't call my md file 'lightslider.md'. Now it's working fine. Thanks for help.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Slebeig, 3 weeks ago
1 195 3 weeks ago
Plugins · by Rene, 1 month ago
2 360 1 month ago
Plugins · by Xavier, 2 months ago
2 285 2 months ago
Plugins · by Luka Prinčič, 7 years ago
3 1493 2 months ago
Plugins · by Sebastian van de Meer, 2 months ago
1 406 2 months ago