Gradient postion

Posted in: Newspaper
Post count: 10

Hello!
How can I change gradient position in the mobile menu? For example, I want to make 2nd color located a bit lower than now.
Thanks.

Post count: 22421

Hi,
Unfortunately there is no theme setting for it so it will have to be done with css. Please use this code:
.td-menu-background:before{
background: linear-gradient(to bottom, #333145 0%, #b8333e 100%);
}

The 2 values with the long strings are the colors so this will also change the color, you will have to add your colors here, and the % represents the gradient position. Change the percent for each value for different results.
Hope this helps.
Thank you!

Post count: 10

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.