Archived topic
How to get copyright text back in footer with CSS coding
9 replies · Started by ssc2019 on October 5, 2021
Hi there
I recently entered this CSS code to get rid of the copyright in the footer. Now I want it back so I can customize it myself. However when I delete this code it deletes my entire footer. Code is:
.site-info {
display: none;
}
Please help!
Thank you.
Hi there,
can you link us to the site in question? To inspect why it's not showing up. :)
You can use the private information text field to provide the site details.
Yeah sure.
Thank you.
Can you check on Appearance > GeneratePress if "Copyright" module is activated?
Yes it is activated.
I still see this CSS active on your site as shown here - https://share.getcloudapp.com/qGuRPjy6
.site-info {
display: none;
}
Can confirm/make sure it's removed and save the changes. :D
Yes I left it there because when I delete it, it deletes my entire footer which is what I don’t want. What is the way around this?
It's a CSS so it can't delete an HTML element. CSS can't affect the backend. :D
You can see on my video here that toggling it shows the footer - https://share.getcloudapp.com/Qwu2vqee
Removing that specific CSS should show the part.
Can you remove the CSS and let us inspect the page?
That worked! It didn't delete the footer this time. The only difference was I left one line blank in the CSS code when I deleted it so that may have been why? Anyway thanks for your help :-)
Perhaps on your previous attempt, you removed something else along with it, effectively breaking the syntax.
Glad you got it sorted. No problem. :D