Custom CSS - What am I doing wrong?
March 7, 2021 12:00 AM
Hi there - I am trying to include custom css to apply left border to a specific box. I added an HTML Extension with a type of Cascading Style Sheet and then added the codes in below. Can you please advise? Thanks in advance.
Discussion (2)
ahhhh. ok. I knew it was going to be something stupid simple as that.
I love this software - very powerful.
The description is not the suitable place to insert the code. When you select "Cascading Style Sheet" as the type you need to have a .css file and select it through the "File:" dialogue. Once you have it you can open it directly from Lectora with a click on "Edit".
The HTML Name, e.g. "shape11467", makes the id of the element. To select an element by its id use "#shape11467{...}" (no quotes of course).