Posted By

Ben on 07/21/09


Tagged

css wordpress


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

rickfu
Swat-Khan
troynt
dbrouse
irishsk
tmbrenneke
YA
ToddSmithSalter
mr2p


Required CSS for wordpress


 / Published in: PHP
 

URL: http://codex.wordpress.org/CSS

Standard CSS markup for wordpress

  1. .aligncenter,
  2. div.aligncenter {
  3. display: block;
  4. margin-left: auto;
  5. margin-right: auto;
  6. }
  7.  
  8. .alignleft {
  9. float: left;
  10. }
  11.  
  12. .alignright {
  13. float: right;
  14. }
  15.  
  16. .wp-caption {
  17. border: 1px solid #ddd;
  18. text-align: center;
  19. background-color: #f3f3f3;
  20. padding-top: 4px;
  21. margin: 10px;
  22. /* optional rounded corners for browsers that support it */
  23. -moz-border-radius: 3px;
  24. -khtml-border-radius: 3px;
  25. -webkit-border-radius: 3px;
  26. border-radius: 3px;
  27. }
  28.  
  29. .wp-caption img {
  30. margin: 0;
  31. padding: 0;
  32. border: 0 none;
  33. }
  34.  
  35. .wp-caption p.wp-caption-text {
  36. font-size: 11px;
  37. line-height: 17px;
  38. padding: 0 4px 5px;
  39. margin: 0;
  40. }
  41. .categories {...}
  42. .cat-item {...}
  43. .current-cat {...}
  44. .current-cat-parent {...}
  45. .pagenav {...}
  46. .page_item {...}
  47. .current_page_item {...}
  48. .current_page_parent {...}
  49. .widget {...}
  50. .widget_text {...}
  51. .blogroll {...}
  52. .linkcat{...}

Report this snippet  

You need to login to post a comment.