• Resolved brunosauce

    (@brunosauce)


    I would like to add a line break between the journal’s year and the journal’s title. How do I do that?

    I tried the code:
    .wpmyear:after{
    line-break: normal
    }

    However, that doesn’t seem to work.

    Thank you for the help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author kochm

    (@kochm)

    Could you please try:
    .wpmyear:after{
    content: “<br>”;
    }

    Thread Starter brunosauce

    (@brunosauce)

    Thank you for the reply!

    I tried your code, but it didn’t work. It gives the error of “Expected RBRACE”.
    Maybe because the break (br) is between two in-line elements?

    I tried this, instead, and it worked.
    .wpmyear:after{
    display: block;
    content: “”
    }

    I have another question, if I may. I wanted to do another break between the title and the outlet. However, after the break the line containing the outlet info starts with a comma. Is there a way to get rid of that comma via CSS?

    Thread Starter brunosauce

    (@brunosauce)

    I realized that it would probably better for me to do what I need via custom CSL.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Formatting the output: How to add line breaks?’ is closed to new replies.