NHSLeadership / nightingale-wp

Other
1 stars 0 forks source link

Respect WordPress generated classes such as alignleft, alignright, etc. #166

Closed Android63 closed 6 years ago

Android63 commented 6 years ago

Figures with alignleft class should float left. And vice versa for alignright. At the moment they don't, so the text that should be next to them gets pushed down below them as shown below:

screen shot 2018-05-25 at 12 08 51

It should look more like this:

screen shot 2018-05-25 at 12 13 40

This needs to work whether the figure has a caption or not.

Android63 commented 6 years ago

Allow for all the WordPress generated classes defined in https://codex.wordpress.org/CSS