I have to insert different lines with different colours in the same page. I can change the color of all the lines in "lay options" but I can't change the colour of the single lines. Is it possible? And how?
Thank you very much,
Andrea
Horizontal line color
I have to insert different lines with different colours in the same page. I can change the color of all the lines in "lay options" but I can't change the colour of the single lines. Is it possible? And how?
Thank you very much,
Andrea
Hey Andrea!
You can give the line element a class and then use css. Right click on the line in the gridder and click "set html class and id".
In "class" enter: blueline
Now save that and save the project.
Now go to "custom css&html" in "lay options".
In "Custom <head> content" enter:
<style>
.blueline .lay-hr{
background-color: blue;
}
</style>
So now you can set a class "blueline" to every line that should be blue.
Great, thank you Armin, problem solved! I had forgotten to add ".lay-hr", for this reason it wasn't working.
Best,
Andrea