WordPress CSS
Posted by admin_mwc on 10 September 2008 2:56 AM in Wordpress Help | 0 Comments
I was wrong about the WordPress CSS stuff being hidden. I actually found the official WordPress documentation on the WordPress picture alignment.
Apart from the code I mention, WordPress recommends adding this to your style.css too:
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}

Subscribe today to receive my eBook "How to Make WordPress Search Engine Friendly" FREE!



Post a Comment