Jump to content
WebFlake
  • 0

Change background image fade?


Little Monsters

Question

Hi

I'm using Titan theme with background picker. However the background images go transparent too quickly. Look here: https://www.rapdab.com/

How can I make the image be more prominent at the top and not start fading/changing to the green color until after the "off-topic" category? I like the fade effect so don't just want a solid image background, but I'd prefer to be more of the image and less of the plain green background.

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

because you need add !important at all line for force the change or so he contenue with old parameter, add this in custom.css :

 

.background-fade {
    background-image: linear-gradient(to bottom, rgba(45,92,90,0) 10vh, rgba(45, 92, 90, 0.68) 80vh)!important;
    padding-bottom:1px;
    min-height:100vh;
}

 

Edited by titcrunch

Best Regards
Titcrunch

French webdesigner in camel Design, Support, help and tutorials in : Forum Camel Design.

Link to comment
Share on other sites

  • 0

Search for .background-fade in your CSS Templates and replace

.background-fade {
    background-image:linear-gradient(to bottom, rgba(45,92,90,0) 10vh, rgba(45,92,90,0.98) 80vh);
    padding-bottom:1px;
    min-height:100vh;
}

with

.background-fade {
    background-image: linear-gradient(to bottom, rgba(45,92,90,0) 10vh, rgba(45, 92, 90, 0.68) 80vh);
    padding-bottom:1px;
    min-height:100vh;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

rgba color = 3 number for color (red + green + blue for the final color) and the last 1 for opacity so like say morphues in exemple change the last number for the opacity 0 is transparent 1 is not transparent at all, you can use 0.2 or 0.6 

xxVH is the size of each color in part of your viewport (size of your screen), min height have 100vh and black have 10vh so 10% and green have 80vh so 80% you can adjust this to size for each color if you would too

Best Regards
Titcrunch

French webdesigner in camel Design, Support, help and tutorials in : Forum Camel Design.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...