To target specific images, this gets a bit more tricky, but you can do that with a few ways. If it’s an image you are manually adding to a widget, post, or page, you can do an inline style on the tag like:
<img class="alignleft" style="border:none;"
….etc. Make sure “style” is after the “class”.
However, to show you where the border is being applied to, you can also choose which one to do the border:none with:
Sorry I know nothing about scripting which I agree does not help !
Anyway trying to do your option 2 – which look the easiest – I have uploaded a picture then gone into text view and added the code ….. style=”border:none into the code below but it has no effect ie the blue line is still there – am I on the right track or a million miles away ?
No worries…Here is another possibility… to disable the border (or make it appear it is), if your images are on a white background, you can change the colour setting for the image border to white. Go to Appearance >> Customize >> Colours >> Image Border
Are you using the child theme for Preference, or do you have Jetpack installed, or a plugin like Simple Custom CSS ?
Hey…good job. I work with code so many times and rarely delve into the WordPress hidden functions, such as the advanced tab on the image window, I didn’t even know what style and class field was there :silly: