Fields marked with an * are required

How to style caption in wordpress theme ?

WordPress 3.0 has a inbuilt class (wp-caption) for styling image captions. One building wp theme from scratch just need to add the below code to syle.css This code is very important from point of view of web developers. Happy learning

.wp-caption { margin: 5px; padding: 5px; border: solid 1px #E5E5FF; background: #E5F2FF; font-size:90%; color: black }

You will find many more simple and difficult tutorials on Think n code. Hope you enjoy learning with us.

Scroll to Top