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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

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 · 745 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 Rene, 1 week ago
2 47 1 week ago
Plugins · by Xavier, 4 weeks ago
2 56 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1182 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 74 2 months ago