• Resolved jrothra

    (@jrothra)


    Is there a way to add copyright info beneath the footer widgets, such as between the footer menu and the “powered by”?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jrothra

    (@jrothra)

    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.

    Hey there,

    We are glad to know that you were able to fix it, and thanks for sharing the solution with others. ??

    Thread Starter jrothra

    (@jrothra)

    @hardeep

    My pleasure!

    Do you know where I can find the copyright code in theme files?
    I need to change them manually but actually I’m not able to find out the code…

    Thread Starter jrothra

    (@jrothra)

    @macallock

    Are you asking about the Hestia theme specifically or, as it sounds, any theme in general? If the former, is was in the footer, I believe (though you only need the above CSS to add it). If the latter, please start a new thread in the general WordPress support forum as this thread is specific to a single issue in the Hestia theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add Copyright Info Below (not within) Footer Widgets’ is closed to new replies.