3.9 Update – How to Add Padding and Border to Images Now?
-
Used to be I could easily add padding and border to my images. Where did this feature go, it is very important???
-
Paddings and borders are, or should be, part of your site’s overall style. Such style is something you should demand form your theme.
To change the style of a theme, you either use a CSS editor (Jetpack comes with one, and there may be others plugins or themes that let you edit/add extra CSS). Or you create a child theme based on your current theme and then add the CSS.
Having this in the style for your site may simplify your workflow.
If the above is not an option there is a new (not tested) plugin that intends to bring back the padding and border to the editor. See https://www.ads-software.com/plugins/advanced-image-styles/
Finally you may use the text editor to add style directly in the html produced by the visual editor.
^ I tried that one myself and it appears to work so far…
How sad to also be part of the minority!
I’m sure there is also a minority using Press This and Post via Email features; why they don’t remove those from settings?Who’s bright idea on their core development team was it to upgrade or should I say downgrade image capabilities in 3.9?
In addition to all the aforementioned problems on this thread I also used to be able to easily resize images by clicking on the corner and would then see the pixel dimensions in real-time as I dragged the image smaller or larger. This is also now gone?
I realize the freaking benefits of css but come on guys, listen to your users. Been a user for years and this is the worst idea I’ve seen to date. Sometimes we want to perform old fashion tweaks to our images on some pages individually. I’m sure others, especially newbie end-users are going to run into a wall.
Bring this feature back, seriously.
Sorry esmi, how does that plugin apply?
I have gotten used to it now. When I am adding pictures to the left or right, I am adding the code:
style="border: 0px none; margin: 5px;"
It’s just as easy to type that in to the code that is already in there.
I would add it to the CSS, but it differs with different areas.
Really surprised they removed this feature and the resizing images feature as well! I don’t understand how that’s an improvement. Seems like a whole lot of people used it on a regular basis.
I built my first website in HTML so yes I CAN code (well extremely rusty now but I COULD code), but I chose WordPress because I didn’t WANT to code.
Please it would be awesome WordPress if you could bring these features back!
I mean, isn’t it fundamental to be able to add images to a website, and given that doing it without a margin is not an option, I don’t understand why this option was removed without explanation or alternative.
We haven’t upgraded all our clients’ sites to 3.9 because we don’t feel we need to teach them html to add images to their posts. I was hoping 3.9.1 might add this…
Excellent point Tux! There are going to be a lot of people out there who know nothing about css or HTML that just want to add an image to their blog post or page and will now be very frustrated that it’s not as easy as it used to be.
Please it would be awesome WordPress if you could bring these features back!
Been asked and been refused. Those features are not coming back any time soon. Try using https://www.ads-software.com/plugins/advanced-image-styles/ instead. Or use a theme that actually formats your images properly in the first place.
I used this feature daily. Theme’s do not modify images to fit comfortably inside. My fault for not testing the editor. I only concentrated on the plugins I used. I would have never dreamed a major editor feature would have been removed. This should have been the first bullet listed in changes:
***** WARNING !!!!!!!! advanced image property editing has been removed from editor.
I can only say “wow”.
However, I can grab a corner and stretch the image.
There is a fairly easy fix to this that doesn’t involve editing the html code directly every time using the text editor. Essentially you need to design a simple (or as complex as you want) bit of CSS one time and then use the “Image Class CSS” field in the image details window (accessed by clicking on the pencil icon in the top left corner of your image in the post. In my case I created a class called pad – might be a good idea to give it a generic name since you can change the value later on. When I insert an image into a post I add the class pad in the Image Class CSS field.
Back in the Dashboard I selected Appearance>Edit CSS and then added the following code below the notes:
img.pad {
padding: 5px;
}This adds padding of 5 px around the image. If I want to change it in the future, I just have to go in and change the padding number. If I want to add a border or a margin I just enter the css required.
The only quirk is that .pad doesn’t seem to be enough, img.pad is required to define the class in the Edit CSS module. You’ll see the class added to your images in posts going forward if you add it in post and view the source code when previewing the page.
I liked the old method of adding padding, but this new method gives you a lot more power to change how images are displayed site wide.
hopefully they’ll bring it back, because while i don’t mind adjusting the html, it is more time consuming.
I used this feature ALL the time and would not have upgraded if I knew it was going to be removed. I thought photo editing was going to improve with the upgrade, not be downgraded. The change should have been made much clearer. Not happy WP!!
- The topic ‘3.9 Update – How to Add Padding and Border to Images Now?’ is closed to new replies.