Hi,
I am using Colormag theme for my website dreamhomeguide.in. Is there any custom CSS for removing the footer credits from the website?
Hi bhaktavk, welcome to SitePoint!
If you customize the theme or override the theme’s style.css you could declare display:none in a css rule for it.
You can add one of two lines to your local stylesheet to override the Wordpress theme:
This will delete the copyright lines only:
.footer-socket-wrapper .copyright {
display:none;
}
or this, which will remove both lines entirely, including the icons to the right:
.footer-socket-wrapper {
display:none;
}
pick one.
.
for @Erik_J Erik_J !
Are you allowed to remove the credits?
I wondered that, but I don’t see anything in their T&C which forbids it.
As far as I understand from the GNU, you’re required to have attribution information and other items in the readme or similar, but nothing explicitly requires a line in the footer of the theme itself.
Actually I just want to remove the bottom line only. i.e Theme by… and Powered by…
.copyright {
display:none;
}
This CSS removes both the lines.
The lines are technically one line wrapped with a <br>
tag.
You will need to change your HTML and CSS to remove that last line.
Are you willing to change your HTML?
You could more easily just delete the offending text from the HTML.
Undecided, huh?
This is a working page showing how to change the HTML and CSS. Open it in your favorite browser. The bottom line can be removed or displayed at your pleasure.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>template</title>
<!--
http://www.sitepoint.com/community/t/custom-css-for-removing-footer-credits/198995/
bhaktavk
Aug 18,2015 4:27 AM
-->
<style type="text/css">
.copyright {
float:left;
background-color:#bdf; /* TEST BG Only. To Be Deleted */
}
.copyright > div {
display:none;
}
</style>
</head>
<body>
<div class="copyright">
Copyright © 2015
<a title="Dream Home Guide" href="http://www.dreamhomeguide.in/"><span>Dream Home Guide</span></a>
. All rights reserved.
<div>
Theme: ColorMag by
<a rel="designer" title="ThemeGrill" target="_blank" href="http://themegrill.com/themes/colormag"><span>ThemeGrill</span></a>
. Powered by
<a title="WordPress" target="_blank" href="http://wordpress.org"><span>WordPress</span></a>
.
</div>
</div>
</body>
</html>
Just thought I would check.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.