Jump to content
Sign in to follow this  
danoah

How do I add horizontal space to my images by default?

Recommended Posts

danoah

Right now when I add an image into a post/page, the text hugs it very tightly and I have to manually change the hspace and vspace. What do I add into CSS to have a 12 pixel horiz/vert margin around all my images?

Share this post


Link to post
Share on other sites
Kate

Are you choosing an alignment from the modal that pops up (for images)? Along with that, the default WP classes for the images are: .alignleft .alignright .alignnone If you want to change the current styles, you can add padding/margins into those classes and then post them in your Custom CSS. Hope that helps!

Share this post


Link to post
Share on other sites
danoah

Hi Kate, thank you. I do align the images left/right, there just aren't any margins around them. I'll see what I can do with this.

Share this post


Link to post
Share on other sites
Rob

Something, perhaps a plugin or a previous modification to the theme may have caused the amount of padding to be reduced. I'd strongly urge you to turn off each plugin one at a time and check with a hard refresh to see if the condition changes. If it does, there may be CSS in the plugin that needs to be tweeked or a workaround found for it. If it's not a plugin, we'll have to examine all the customization you've done. This is why I truly urge you to engage one of our Pros to help you get this all right.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×