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

Edit plugin scss and add to custom.scss file

Started by Muut Archive 9 years ago · 4 replies · 874 views
9 years ago

Hi all, new to Grav. I was able to customise scss for shopping cart plugin, now I want to add the changes to my custom.scss file, which is in this path: mysite/user/data/gantry5/themes/g5_helium/scss/cutom.scss
Copy and paste it's not enough, I also tried with @import "shopping cart"; but I'm not sure if this will be overwritten with next plugin update

9 years ago

As I recall custom.css and custom.scss should not be overwritten, but in general you should use Theme Inheritance to make changes to themes. For Custom CSS, it should suffice to use a custom.css file where the changes you apply have a higher order of specificity than already set.

9 years ago

User/Themes/YourTheme/Css/Custom.css Works Fine!

9 years ago

Thanks all, folks! A question for flaviocopes: still struggling to redirect the "continue shopping" to the correct page "categories list"...can't find where to set up the link; can you help me?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1323 9 years ago
Archive · by Muut Archive, 9 years ago
2 920 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2924 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago