Skip to:

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#352 closed defect (bug) (fixed)

Theme Code Addition

Reported by: jvinch Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords: theme, css


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)

#1 @jvinch
7 years ago

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.

#2 @jvinch
7 years ago

Wow, this is an amazing coincidence - r853 covering this was added a few minutes before I created the ticked. Will test but this seems to be covered.

#3 @apeatling
7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#4 @anonymous
6 years ago

  • Milestone Default Home Theme 1.0 deleted

Milestone Default Home Theme 1.0 deleted

Note: See TracTickets for help on using tickets.