While the Pro version includes this feature, the free version doesn’t. I’m currently using the free version.
Here’s what I’ve added to the child theme’s CSS and it worked:
.copyright:before {
content: '\00a9 YYYY-YYYY Person-Or-Company-Name. All rights reserved.\A';
white-space: pre; /* or pre-wrap */
}
You can’t add html to the content
, but you can use ASCII. So, here’s what’s going on:
\00a9 = the copyright symbol
\A = line break
white-space
= regulates the line break
Per W3, the \A
is regulated by white-space
(cf. https://www.w3.org/TR/CSS2/generate.html#content). They state,
Authors may include newlines in the generated content by writing the “\A” escape sequence in one of the strings after the ‘content’ property. This inserted line break is still subject to the ‘white-space’ property. See “Strings” and “Characters and case” for more information on the “\A” escape sequence.
Hope this helps whomever wants to do this.
-
This reply was modified 7 years, 8 months ago by
jrothra.
-
This reply was modified 7 years, 8 months ago by
jrothra.
-
This reply was modified 7 years, 8 months ago by
jrothra.