Forums
Forums / Fixing WordPress / Styling comments page
(@tobyh)
13 years, 5 months ago
So I have everything pretty much set up the way I want it to look, but the comments page needs some margins so it doesn’t butt up to the edges:
http://www.tbbcoach411.com/hello-world/#comments
Is there a way to do this via css without affecting the other pages? I’ve tried doing this with no success.
(@homergz)
.entry-content { padding:10px; }
Is there a way to just add it to the comments page without affecting the others? I tried this already and it also adds margins to the home page
(@lucentx)
Try adding the padding only to the targeted pages. In this case for single pages:
.single .entry-content { padding: 25px; overflow: hidden; }
Seemed to do the trick thanks!
The topic ‘Styling comments page’ is closed to new replies.
(@tobyh)
13 years, 5 months ago
So I have everything pretty much set up the way I want it to look, but the comments page needs some margins so it doesn’t butt up to the edges:
http://www.tbbcoach411.com/hello-world/#comments
Is there a way to do this via css without affecting the other pages? I’ve tried doing this with no success.