How to center the copyright text in WordPress footer

55 views
asked Jan 3, 2013 in Website Builder by mike231 (2,480 points)
Hi all..
I want to center the copyright text in the footer of my WP site. I tried the following CSS code in my theme’s custom CSS area but it didn’t work.
#copyright {
text-align: center
}
p.copyright.col{
 text-align: center;
 margin-right: auto;
margin-left: auto;
}

Does anyone know how to do this?
thanks

1 Answer

0 like 0 dislike
answered Jan 3, 2013 by expert (14,380 points)
Try adding the following CSS code to your theme

p.copyright.col {
 width: auto;
 float: none;
}
...