If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
December 13, 2010 at 4:09 pm #30083
It has been resolved, my brochure did not refresh when I wrote earlier on… Thank you so much for the information.December 14, 2010 at 11:18 am #30084June 27, 2011 at 3:26 am #30085
I’m having the same difficulty in aligning my image files. For better or worst, I’ve coded my image files with html code into my blog posts and pages in the format of: img src=”http://www.strategydriven.com/wp-content/themes/strategydriven/img/Editorial.jpg” align=”right” width=”400″ height=”300″ style=”padding-left: 10pt; padding-top: 0pt; padding-bottom: 0pt; padding-right: 0pt”/ with the <> on either side (omitted so as to not show a picture).
While coded to align right, the image is aligning to the left. Please see: http://www.strategydriven.com/testwordpress/?p=5.
I am in the process of upgrading my blog to the Display 3-in-1 theme and would prefer not to recode the hundreds of images on the website using the WordPress insert image mechanism and have chosen to not have an image title below each image. (I can’t seem to eliminate these when using the insert image function.) I have tried adding the #top div. and the other style.css code as recommended but these do not solve the issue.
Please note that I have also tried to recode the align html command to align=”alignright” but that did not work.
I would greatly appreciate any help you can provide to me.
All the Best,
NathanJune 27, 2011 at 5:01 am #30086
I’ve played around in firebug and the standard alignright class solves the poblem. I wouldn’t use align=”” because it’s not w3c valid. I.e. this code will push the image to the right:
<img width="400" height="300" style="padding-left: 10pt; padding-top: 0pt; padding-bottom: 0pt; padding-right: 0pt" src="http://www.strategydriven.com/wp-content/themes/strategydriven/img/Editorial.jpg" class="alignright">
and this code to the left:
<img width="400" height="300" style="padding-left: 10pt; padding-top: 0pt; padding-bottom: 0pt; padding-right: 0pt" src="http://www.strategydriven.com/wp-content/themes/strategydriven/img/Editorial.jpg" class="alignleft">June 28, 2011 at 12:58 am #30087
Thank you again! I appreciate your teaching me about the class=”alignright/alignleft/aligncenter” The solution works perfectly!
All the Best,
NathanJune 29, 2011 at 9:58 am #30088
The topic ‘image alignment’ is closed to new replies.