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.

Site Feedback

Possible documentation issue with "Really simple css image slider"

Solved by pamtbaau View solution

Started by Peter 1 year ago · 2 replies · 49 views
1 year ago

Hi I'm quite new to Grav and on page https://learn.getgrav.org/16/cookbook/general-recipes in chapter "Really simple css image slider" I found following issue.

It says "Time for css stuff. Add this to your _custom.scss", but this didn't work when I tried with Grav v1.7.48 - Admin v1.10.48.

I think it has to be corrected to "Time for css stuff. Add this to your /user/themes/{theme}/css/custom.css" , because it works this way.

1 year ago Solution

@Pepino, Whether this is a documentation issue or not depends on the theme being used. Some themes support custom.css and another theme might support custom.scss.

Themes do share commonalities but apart from a few minimal requirements they are totally free in their implementation.

Therefor, your suggested edit might work for your theme, but might fail in another...

Recipes should be taken as a guideline not as a final solution, which means tweaking and poking and some basic knowledge might be needed...

👍 1
1 year ago

Thanks for the fast response. I use the standard theme Quark, so I thought it might be an issue. But with your explanation I'll read the documentation a bit more open minded ;-)

Suggested topics

Topic Participants Replies Views Activity
Site Feedback · by pamtbaau, 21 minutes ago
0 0 21 minutes ago
Site Feedback · by Jarry, 3 hours ago
1 7 31 minutes ago
Site Feedback · by pamtbaau, 7 hours ago
4 59 6 hours ago
Site Feedback · by pamtbaau, 8 hours ago
4 20 8 hours ago
Site Feedback · by timkenhan, 3 months ago
2 81 8 hours ago