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
I don't answer or check forum DMs, please just post on the forum.
Try this to fix issues before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it