Custom CSS - What am I doing wrong?

andrew-robertson
andrew-robertson Community Member Posts: 185 ☆ Superstar ☆
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.



Andrew R.
Developing content since 2010 using a mixed bag of tools.

Comments

  • timk
    timk Community Member Posts: 1,197 ♦ Idol ♦
    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).
  • andrew-robertson
    andrew-robertson Community Member Posts: 185 ☆ Superstar ☆
    ahhhh. ok. I knew it was going to be something stupid simple as that.

    I love this software - very powerful.
    Andrew R.
    Developing content since 2010 using a mixed bag of tools.