#g-extension {
.g-grid {
> .g-block {
&:first-child {
background: green;
}
&:last-child {
background: purple;
}
}
}
}
Ivo Valkov wrote:
Hello Stefano,
You can do that by writing your CSS code in the custom.scss file.
Just target the proper elements, for example:
#g-extension {
.g-grid {
> .g-block {
&:first-child {
background: green;
}
&:last-child {
background: purple;
}
}
}
}
The above code is just an example. It might work but you might need to modify it as well.
#g-extension {
@include linear-gradient(90deg, green 50%, purple 50%);
}
@import "dependencies";
code at the very top of your custom.scss file.You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »