Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Color/ Overlay showcase image one-page-site skeleton

Started by Muut Archive 12 years ago · 2 replies · 640 views
12 years ago

Hello everyone! I am very new with twig and grav, so i decided to dive into it. But my first problem is where i can change the color/ overlay of the showcase image. I searched a lot in css and compiled css and of course in the SCSS files but i can find out where the overlay and blueish color came from. Please help me.

12 years ago

that's actually being set by the showcase twig in the antimatter theme:

themes/antimatter/templates/modular/showcase.html.twig

TWIG
{% set showcase_image = page.media.images|first.grayscale().contrast(20).brightness(-125).colo rize(-35,81,122) %}

Specifically the colorize() bit.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago