Hi, I'm trying to add an advanced gradient to a Nicepage block. Advanced in the sense that it cannot be done with Nicepage buttons only.
Here's how I do it:
- Defining class for the block
In the field CSS class I name my block as client-gradient-block
- Adding style to CSS class
I open the Edit CSS filed and write in there:
.client-gradient-block {
background-image: linear-gradient(red, yellow, green);
}
I expect my block to become three-coloured gradient. But it does not. Not even in the Quick preview.
Is there something I'm doing wrong?
Hi, I'm trying to add an advanced gradient to a Nicepage block. Advanced in the sense that it cannot be done with Nicepage buttons only. Here's how I do it: 1. Defining class for the block In the field CSS class I name my block as client-gradient-block 2. Adding style to CSS class I open the Edit CSS filed and write in there: .client-gradient-block { background-image: linear-gradient(red, yellow, green); } *** I expect my block to become three-coloured gradient. But it does not. Not even in the Quick preview. Is there something I'm doing wrong?