Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Antimater one page showcase image

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

How do I change the colour of the showcase image effect. I searched for a way to deactivate it but unfortunately did not find anything.

12 years ago

The image is manipulated in the Twig template file: themes/antimatter/templates/modular/showcase.html.twig and specifically this code:

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

Just remove the manipulations or edit them as you need.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2609 9 years ago
Archive · by Muut Archive, 9 years ago
2 1716 9 years ago
Archive · by Muut Archive, 9 years ago
2 5011 9 years ago
Archive · by Muut Archive, 9 years ago
1 3840 9 years ago
Archive · by Muut Archive, 9 years ago
3 1820 9 years ago