Site logo

Archived topic

Peak Site Library Theme - Change Gradient Overlay

3 replies · Started by Marko on March 3, 2020

Viewing posts 1–4 of 4

Hello,

I've just started using GeneratePress and have imported the "Peak" demo.

The gradient for featured images is too dark and whilst I've been able to fix it up on Chrome Inspect by changing the linear-gradient from:

background-image: linear-gradient(0deg, rgba(22,22,22,0.95),rgba(22,22,22,0.95)), url(removed);

to:

background-image: linear-gradient(0deg, rgba(22,22,22,-1),rgba(22,22,22,-1)), url(removed);

Then I tried to add css to my theme like so, but it doesn't work:

.page-hero {
background-image: linear-gradient(0deg, rgba(22,22,22,-1),rgba(22,22,22,-1);
}

What am I missing? Thank you.

And there we have it! Thank you so much, from a noob :-)

No problem :)

This archived topic is closed to new replies.