Adding space between images and text in WP

2
3
209 followers


It looks like one of the latest WP updates eliminated the easy way to add a bit of white space between your images and text. It used to be a built in feature that you could adjust when you clicked on editing your image.

Since I can't seem to get that feature to work anymore here is a not-too-annoying workaround I found after some searching on the web.

After you've added your image to your WP page, go to the "TEXT" tab and find the code of the image. Insert what's between the asterisks ***style="padding-right: 10px;"***before the "alt=..." portion of your image code. If your image is on the left side of your text then 10px of white space will be added between the right side of the image and your text. If you have your image on the right then you would add style="padding-left: 10px;"

I didn't have any success uploading my screen shot of how this looks but I'd be happy to try to answer questions if I can. Hope that helps someone!

2
3

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

Recent Comments

3

I can't get this to work either by putting in the code or with the plug in. So frustrated with WP. What should have been a 2 minute task has taken me the better part of my day and I'm no further ahead. Please help!

Some themes take care of this by providing this option in Appearances >Theme Options > Customization settings.

There's a plugin for it now that seems to do the trick:

http://wordpress.org/plugins/advanced-image-styles/

But it's better to use the code if one can rather than add another plugin. Let's hope WP adds the option back with the next update or that more theme designer's include it in the theme options.

~Jude

1

Ah good to know Jude, thanks for the additional info! I should have figured there was a plugin to take care of this but when I was in the midst of searching for an easy answer so I could perfect my page RIGHT THIS MINUTE this is the first thing I ran across, ha. Thanks for your comment! :)

1

See more comments

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

© 2005-2025 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.