Txt separator 
Autore: Nektarios K.
Visite 58,
Followers 0,
Condiviso 0
Hi there, Happy Easter
I would like to use the text separator shown in the attached photo. My issue is that I want to use a black color on a white background, but a white color on a navy blue background. Currently, the only way to change the color of the separator is through the "Text, Field, and Button Style" section in menu 2. If I select the default white color, the separator line will also be white. To use black, I have to change the default color in menu 2 and then manually change the color in the previous block from white to black. Can you provide any guidance on how to have a different color separator for each block?
Regards,
Nek
Postato il

You can use HTML/CSS code for the text separator in the text object when the HTML symbol is highlighted and it is outlined in blue, see code and screenshots below
----- HTML / CSS code for <hr> -----
<hr style="border: none; border-top: 5px solid black;"/>
<hr style="border: none; border-top: 5px solid white;"/>
----- 2 Screenshots -----
-----
2nd option:
Mark the text object in question in the grid and then click on "Code" at the top, now insert this CSS code into the 2nd empty line and adjust the color if necessary, see
----- CSS code -----
hr {border: none; border-top: 5px solid red !important;}
----- Screenshot -----
Both examples are also on my test pages (German), see
>> https://findelinks.de/123test-aufklappmenue-2/farbige-trennlinien-als-html-css-code-im-text.html
>> https://findelinks.de/123test-aufklappmenue-2/farbige-trennlinie-im-text-objekt-bei-code-definiert.html