• Hey Guest, don't forget to VOTE on each RFC topic. Your voting determine Chevereto development! No votes, no development.
  • Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Overlay on home-cover

Status
Not open for further replies.

Astrmn

Chevereto Member
Hi Rodolfo,

maybe this is a problem that other people are facing. Some of pictures I am choosing as home-cover are too bright so that the text is not good readable anymore.

Two solutions are possible:

1. Edit the pictures in Photoshop and darken the picture.
2. Put an overlay with CSS
in the index.php of your theme
replace <div id="home-cover" data-content="follow-scroll-opacity">
with <div id="home-cover" class="overlay" data-content="follow-scroll-opacity">

and put in the CSS

.overlay:before{
position: absolute;
content:" ";
top:0;
left:0;
width:100%;
height:100%;
display: block;
z-index:0;
background-color: rgba(0,0,0,0.40);
}

Solution 2 is not working anymore since the new update 3.8 so that I had to use solution 1.

Would it be possible to implement directly such a function within the dashboard/theme where you could activate an overlay or disable it?

Hope you understand what I meant.

Cheers
 
When you set a cover image, you have to use an edited image anyway. This is because that image must be compressed and hopefully with some adjustments for better viewing.

That said, I don't think that is needed to add an auto layer because that assume that every image has similar bright values. Maybe you will counter telling me that the opacity of this layer should be configurable but at the end is way better to do the editing at your side.
 
Last edited:
Status
Not open for further replies.
Back
Top