#352 closed defect (bug) (fixed)
Theme Code Addition
| Reported by: | jvinch | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Version: | ||
| Severity: | Keywords: | theme, css | |
| Cc: |
Description
Since 2.5, CSS files for Wordpress Themes need to have the following included:
img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}
img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}
.alignright {
float: right;
}
.alignleft {
float: left;
}
Without this code, image alignment in the image uploader does not work.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This doesn't work complete - it throws some other elements off. I am not a CSS guru - may need some help from an expert in getting this right.