Image Alignment in Tranquility theme
-
A couple of weeks ago I finally updated to WP 2.9.2, having been on a 2.5.?? version since I started my blog two years ago. My theme is “Tranquility White 1.2”. With the new WP version, I can’t get the images in new posts to align correctly in this theme. The images in my most recent post are supposed to be center-aligned, but, as you can see, they’re on the left. (I had actually wanted them to be left-aligned with text wrapping – see earlier posts – but no matter what I did within the image editor, that wasn’t happening.)
My blog: https://otminteriors.com/wordpress/
Before updating to 2.9.2, this type of alignment wasn’t a problem. Now, even though the images appear to align the way I want them to in “Edit” mode, when published, they’re all left-justified and either above or below the text (no “wrapping”) in the Tranquility theme.
A few days ago, I posted a similar question and got one response: your theme’s style.css seems to be missing the styles for .alignleft, .aligncenter, and .alignright you can find corresponding styles in the style.css of the default theme that comes with the wordpress installation.
As a test, I temporarily activated the WP default theme, and the images WERE aligning correctly in that theme. So the person who responded was right…the problem is with the Tranquility stylesheet code.
I have basic knowledge of html, so I played around with inserting the above-referenced image styles in the Tranquility stylesheet, but to no avail.
Can someone be kind enough to tell me exactly what I should copy/insert and where I should paste in the Tranquility theme?
This is driving me crazy. Please help!!!!
Thanks,
Sheila
- The topic ‘Image Alignment in Tranquility theme’ is closed to new replies.