Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Antimater one page showcase image

Started by Muut Archive 12 years ago · 2 replies · 434 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 2275 9 years ago
Archive · by Muut Archive, 9 years ago
2 1496 9 years ago
Archive · by Muut Archive, 9 years ago
2 4743 9 years ago
Archive · by Muut Archive, 9 years ago
1 3553 9 years ago
Archive · by Muut Archive, 9 years ago
3 1618 9 years ago