WordPress Twenty Thirteen Theme - Image Alignment
Published on January 26, 2015
Published on Wealthy Affiliate — a platform for building real online businesses with modern training and AI.
I'm not sure if this is the right place to put it, but while on my WA journey, I came unstuck and wanted to share how I fixed my issue.
I am using the WordPress Twenty Thirteen theme. It's pretty basic and one problem I found was that when adding images within blocks of text, the image would not be aligned fully, like this:
This was really bugging me, and I just thought it looked so amateur, so I went off looking for a solution. I could not find the answer on WA, which is why I'm coming back to share this with you good people in case you have the same problem.
Go to your Appearance tab, and select Custom CSS Manager:
Then paste this code into the box and hit save:
Ready to put this into action?
Start your free journey today — no credit card required.
.entry-content img.alignleft,
.entry-content .wp-caption.alignleft { margin-left: 0; }
.entry-content img.alignright,
.entry-content .wp-caption.alignright { margin-right: 0; }
It should look like this:
And the problem is solved:
I'm going to call this my first success!
I hope this helps others in the same position.
C
Share this insight
This conversation is happening inside the community.
Join free to continue it.The Internet Changed. Now It Is Time to Build Differently.
If this article resonated, the next step is learning how to apply it. Inside Wealthy Affiliate, we break this down into practical steps you can use to build a real online business.
No credit card. Instant access.