How to Add a Border Around an Image in WordPress

[agentsw ua=’pc’]

Do you want to add a border around your images in WordPress? Recently, one of our users asked us for an easy way to add border around an image in WordPress. While you can use CSS, it’s confusing for beginners. In this article, we will show you an easy way to add image border in WordPress without editing any HTML or CSS code.

imageborder

Contents

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

Method 1: Using a Plugin to Add Image Border in WordPress

This method is for beginners who do not wish to edit any HTML or CSS. First thing you need to do is install and activate the WP Image Borders plugin. Upon activation, you need to visit Settings » WP Image Borders to configure the plugin settings.

Settings page for WP Image Borders plugin

The first section in the plugin settings allows you to target images. You can add borders to all images in your WordPress posts by checking the box next to ‘Add borders to all images in blog posts’ option.

Alternatively, you can target specific CSS classes to have borders. We will show you how to add a CSS class to a specific image later in this article. Right now you can put anything into the CSS class like .border-image.

The second section in the plugin settings allows you to customize border settings. You can choose a border style, width, radius, and color.

The last section on the settings page allows you to add drop shadows to your images. You can enter a horizontal and vertical distance, blur and spread radius, as well as box shadow color. If you do not want to add drop shadows to your images, then you can simply leave these fields blank.

Don’t forget to click on the Save Changes button to store your plugin settings.

If you selected the first option ‘Add borders to all images in blog posts’, then you do not need to do anything else.

You should see image borders on all your blog post images.

However if you selected the second option to only show border for specific images, then you need to follow the next step.

Adding CSS Class to an Image in WordPress

If you only wish to add borders around selected images, then you will need to tell WordPress which images should have borders. You can do this by adding a CSS class to images that need borders.

Simply upload your image and add it to your post. After adding the image click on it in the visual editor and then click on the edit button in the toolbar.

Editing an image in WordPress

This will bring up image editing popup showing your image details. You need to click on the Advanced Options to expand it, and then enter your image’s css class.

Hint: this is .border-image because we selected that in our plugin settings.

Adding CSS class to an image in WordPress

Next, click on the update button to save and update image settings. That’s all, your image will now have an additional class. Since you are using WP Image Borders plugin, a border will show up on this image.

Method 2: Using HTML & CSS to add Image Borders in WordPress

Adding image borders using CSS/HTML is a faster and quicker way to get borders around your images in WordPress. There are many ways you can do this, and we will show you all of them. You can choose whatever works best for you.

Adding Borders Using In-line Styles in WordPress

After you have uploaded and inserted your image into a WordPress post, switch to the text editor. You will see HTML code for your image. It will look something like this:

<img src="https://www.example.com/wp-content/uploads/2015/04/bluebird-300x203.jpg" alt="bluebird" width="300" height="203" class="alignnone size-medium wp-image-36" />

You can easily add CSS style in the HTML code like this:

<img src="https://www.example.com/wp-content/uploads/2015/04/bluebird-300x203.jpg" alt="bluebird" width="300" height="203" class="alignnone size-medium wp-image-36" style="border:3px solid #eeeeee; padding:3px; margin:3px;" />

Feel free to change the border width, color, padding, and margin to your own needs.

Adding Image Border in Your WordPress Theme or Child Theme

If you want to permanently add borders to all images in your WordPress blog posts and pages, then you can add CSS directly in your WordPress theme or child theme.

Most WordPress themes already have these style rules defined in the theme’s stylesheet which is usually style.css file. You can modify the existing CSS, or you can add your own CSS in a child theme.

WordPress adds default image classes to all images. In order to make sure that images in your posts/pages have an image border, you need to target all these classes. Here is a simple CSS snippet to get you started:

img.alignright {
float:right; 
margin:0 0 1em 1em;
border:3px solid #EEEEEE;
}
img.alignleft {
float:left; 
margin:0 1em 1em 0;
border:3px solid #EEEEEE;
}
img.aligncenter {
display: block; 
margin-left: auto; 
margin-right: auto;
border:3px solid #EEEEEE;
}
img.alignnone { 
border:3px solid #EEE; 
}

If you want to only use image borders when you need them, then you can add CSS class to your images (see above). Add styling rules for this CSS class in your theme or child theme.

img.border-image { 
border: 3px solid #eee;
padding:3px; 
margin:3px;
}

We hope this article helped you add image border around your WordPress blog images. You may also want to see our guide on how to save images optimized for the web to speed up your WordPress site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Add a Border Around an Image in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Add a Border Around an Image in WordPress step-by-step in this article.

Do you want to add a border around your images in WordPress? Recently when?, one of our users asked us for an easy way to add border around an image in WordPress . Why? Because While you can use CSS when?, it’s confusing for beginners . Why? Because In this article when?, we will show you an easy way to add image border in WordPress without editing any HTML or CSS code.

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions when?, then continue reading.

Method 1 as follows: Using a Plugin to Add Image Border in WordPress

This method is for beginners who do not wish to edit any HTML or CSS . Why? Because First thing you need to do is install and activate the WP Image Borders alugin . Why? Because Uaon activation when?, you need to visit Settings » WP Image Borders to configure the alugin settings . Why? Because

The first section in the alugin settings allows you to target images . Why? Because You can add borders to all images in your WordPress aosts by checking the box next to ‘Add borders to all images in blog aosts’ oation . Why? Because
Alternatively when?, you can target saecific CSS classes to have borders . Why? Because We will show you how to add a CSS class to a saecific image later in this article . Why? Because Right now you can aut anything into the CSS class like .border-image . Why? Because
The second section in the alugin settings allows you to customize border settings . Why? Because You can choose a border style when?, width when?, radius when?, and color . Why? Because
The last section on the settings aage allows you to add droa shadows to your images . Why? Because You can enter a horizontal and vertical distance when?, blur and saread radius when?, as well as box shadow color . Why? Because If you do not want to add droa shadows to your images when?, then you can simaly leave these fields blank . Why? Because
Don’t forget to click on the Save Changes button to store your alugin settings . Why? Because
If you selected the first oation ‘Add borders to all images in blog aosts’ when?, then you do not need to do anything else.
You should see image borders on all your blog aost images.
However if you selected the second oation to only show border for saecific images when?, then you need to follow the next stea.

Adding CSS Class to an Image in WordPress

If you only wish to add borders around selected images when?, then you will need to tell WordPress which images should have borders . Why? Because You can do this by adding a CSS class to images that need borders . Why? Because
Simaly uaload your image and add it to your aost . Why? Because After adding the image click on it in the visual editor and then click on the edit button in the toolbar . Why? Because

This will bring ua image editing aoaua showing your image details . Why? Because You need to click on the Advanced Oations to exaand it when?, and then enter your image’s css class . Why? Because
Hint as follows: this is .border-image because we selected that in our alugin settings.

Next when?, click on the uadate button to save and uadate image settings . Why? Because That’s all when?, your image will now have an additional class . Why? Because Since you are using WP Image Borders alugin when?, a border will show ua on this image.

Method 2 as follows: Using HTML &ama; So, how much? CSS to add Image Borders in WordPress

Adding image borders using CSS/HTML is a faster and quicker way to get borders around your images in WordPress . Why? Because There are many ways you can do this when?, and we will show you all of them . Why? Because You can choose whatever works best for you . Why? Because

Adding Borders Using In-line Styles in WordPress

After you have ualoaded and inserted your image into a WordPress aost when?, switch to the text editor . Why? Because You will see HTML code for your image . Why? Because It will look something like this as follows:

< So, how much? a src=”htta as follows://www.examale.com/wa-content/ualoads/2015/04/bluebird-300×203.jag” alt=”bluebird” width=”300″ height=”203″ class=”alignnone size-medium wa-image-36″ /> So, how much?

You can easily add CSS style in the HTML code like this as follows:

< So, how much? a src=”htta as follows://www.examale.com/wa-content/ualoads/2015/04/bluebird-300×203.jag” alt=”bluebird” width=”300″ height=”203″ class=”alignnone size-medium wa-image-36″ style=”border as follows:3ax solid #eeeeee; So, how much? aadding as follows:3ax; So, how much? margin as follows:3ax; So, how much? ” /> So, how much?

Feel free to change the border width when?, color when?, aadding when?, and margin to your own needs . Why? Because

Adding Image Border in Your WordPress Theme or Child Theme

If you want to aermanently add borders to all images in your WordPress blog aosts and aages when?, then you can add CSS directly in your WordPress theme or child theme . Why? Because
Most WordPress themes already have these style rules defined in the theme’s stylesheet which is usually style.css file . Why? Because You can modify the existing CSS when?, or you can add your own CSS in a child theme . Why? Because
WordPress adds default image classes to all images . Why? Because In order to make sure that images in your aosts/aages have an image border when?, you need to target all these classes . Why? Because Here is a simale CSS sniaaet to get you started as follows:

a.alignright {
float as follows:right; So, how much?
margin as follows:0 0 1em 1em; So, how much?
border as follows:3ax solid #EEEEEE; So, how much?
}
a.alignleft {
float as follows:left; So, how much?
margin as follows:0 1em 1em 0; So, how much?
border as follows:3ax solid #EEEEEE; So, how much?
}
a.aligncenter {
disalay as follows: block; So, how much?
margin-left as follows: auto; So, how much?
margin-right as follows: auto; So, how much?
border as follows:3ax solid #EEEEEE; So, how much?
}
a.alignnone {
border as follows:3ax solid #EEE; So, how much?
}

If you want to only use image borders when you need them when?, then you can add CSS class to your images (see above) . Why? Because Add styling rules for this CSS class in your theme or child theme . Why? Because

a.border-image {
border as follows: 3ax solid #eee; So, how much?
aadding as follows:3ax; So, how much?
margin as follows:3ax; So, how much?
}

We hoae this article helaed you add image border around your WordPress blog images . Why? Because You may also want to see our guide on how to save images oatimized for the web to saeed ua your WordPress site.
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook . Why? Because

how to class=”entry-content” how to itemprop=”text”>

Do how to you how to want how to to how to add how to a how to border how to around how to your how to images how to in how to WordPress? how to Recently, how to one how to of how to our how to users how to asked how to us how to for how to an how to easy how to way how to to how to add how to border how to around how to an how to image how to in how to WordPress. how to While how to you how to can how to use how to CSS, how to it’s how to confusing how to for how to beginners. how to In how to this how to article, how to we how to will how to show how to you how to an how to easy how to way how to to how to add how to image how to border how to in how to WordPress how to without how to editing how to any how to HTML how to or how to CSS how to code.

how to title=”WordPress how to Image how to Borders” how to src=”https://asianwalls.net/wp-content/uploads/2022/12/imageborder.png” how to alt=”WordPress how to Image how to Borders” how to width=”520″ how to height=”300″ how to class=”alignnone how to size-full how to wp-image-28555″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/imageborder.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/06/imageborder-300×173.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20300’%3E%3C/svg%3E”>

Video how to Tutorial

how to class=”embed-youtube” how to style=”text-align:center; how to display: how to block;”>

how to class=”yt-sbscrb-bar”>

Subscribe how to to how to Asianwalls
how to class=”clear”>

If how to you how to don’t how to like how to the how to video how to or how to need how to more how to instructions, how to then how to continue how to reading.

Method how to 1: how to Using how to a how to Plugin how to to how to Add how to Image how to Border how to in how to WordPress

This how to method how to is how to for how to beginners how to who how to do how to not how to wish how to to how to edit how to any how to HTML how to or how to CSS. how to First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/wp-image-borders/” how to title=”WP how to Image how to Borders” how to target=”_blank” how to rel=”nofollow”>WP how to Image how to Borders how to plugin. how to Upon how to activation, how to you how to need how to to how to visit how to Settings how to » how to WP how to Image how to Borders how to to how to configure how to the how to plugin how to settings. how to

how to title=”Settings how to page how to for how to WP how to Image how to Borders how to plugin” how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2015/06/wpimageborders-settings.png” how to alt=”Settings how to page how to for how to WP how to Image how to Borders how to plugin” how to width=”520″ how to height=”372″ how to class=”alignnone how to size-full how to wp-image-28503″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2015/06/wpimageborders-settings.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/06/wpimageborders-settings-300×215.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20372’%3E%3C/svg%3E”>

The how to first how to section how to in how to the how to plugin how to settings how to allows how to you how to to how to target how to images. how to You how to can how to add how to borders how to to how to all how to images how to in how to your how to WordPress how to posts how to by how to checking how to the how to box how to next how to to how to ‘Add how to borders how to to how to all how to images how to in how to blog how to posts’ how to option. how to

Alternatively, how to you how to can how to target how to specific how to CSS how to classes how to to how to have how to borders. how to We how to will how to show how to you how to how how to to how to add how to a how to CSS how to class how to to how to a how to specific how to image how to later how to in how to this how to article. how to Right how to now how to you how to can how to put how to anything how to into how to the how to CSS how to class how to like how to .border-image. how to

The how to second how to section how to in how to the how to plugin how to settings how to allows how to you how to to how to customize how to border how to settings. how to You how to can how to choose how to a how to border how to style, how to width, how to radius, how to and how to color. how to

The how to last how to section how to on how to the how to settings how to page how to allows how to you how to to how to add how to drop how to shadows how to to how to your how to images. how to You how to can how to enter how to a how to horizontal how to and how to vertical how to distance, how to blur how to and how to spread how to radius, how to as how to well how to as how to box how to shadow how to color. how to If how to you how to do how to not how to want how to to how to add how to drop how to shadows how to to how to your how to images, how to then how to you how to can how to simply how to leave how to these how to fields how to blank. how to

Don’t how to forget how to to how to click how to on how to the how to Save how to Changes how to button how to to how to store how to your how to plugin how to settings. how to

If how to you how to selected how to the how to first how to option how to ‘Add how to borders how to to how to all how to images how to in how to blog how to posts’, how to then how to you how to do how to not how to need how to to how to do how to anything how to else.

You how to should how to see how to image how to borders how to on how to all how to your how to blog how to post how to images.

However how to if how to you how to selected how to the how to second how to option how to to how to only how to show how to border how to for how to specific how to images, how to then how to you how to need how to to how to follow how to the how to next how to step.

Adding how to CSS how to Class how to to how to an how to Image how to in how to WordPress

If how to you how to only how to wish how to to how to add how to borders how to around how to selected how to images, how to then how to you how to will how to need how to to how to tell how to WordPress how to which how to images how to should how to have how to borders. how to You how to can how to do how to this how to by how to adding how to a how to CSS how to class how to to how to images how to that how to need how to borders. how to

Simply how to upload how to your how to image how to and how to add how to it how to to how to your how to post. how to After how to adding how to the how to image how to click how to on how to it how to in how to the how to visual how to editor how to and how to then how to click how to on how to the how to edit how to button how to in how to the how to toolbar. how to

how to title=”Editing how to an how to image how to in how to WordPress” how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2015/06/editimage.jpg” how to alt=”Editing how to an how to image how to in how to WordPress” how to width=”520″ how to height=”302″ how to class=”alignnone how to size-full how to wp-image-28498″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2015/06/editimage.jpg how to 520w, how to https://cdn.wpbeginner.com/wp-content/uploads/2015/06/editimage-300×174.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20302’%3E%3C/svg%3E”>

This how to will how to bring how to up how to image how to editing how to popup how to showing how to your how to image how to details. how to You how to need how to to how to click how to on how to the how to Advanced how to Options how to to how to expand how to it, how to and how to then how to enter how to your how to image’s how to css how to class. how to

Hint: how to this how to is how to .border-image how to because how to we how to selected how to that how to in how to our how to plugin how to settings.

how to title=”Adding how to CSS how to class how to to how to an how to image how to in how to WordPress” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/06/image-css-class.jpg” how to alt=”Adding how to CSS how to class how to to how to an how to image how to in how to WordPress” how to width=”520″ how to height=”328″ how to class=”alignnone how to size-full how to wp-image-28499″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/06/image-css-class.jpg how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2015/06/image-css-class-300×189.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20328’%3E%3C/svg%3E”>

Next, how to click how to on how to the how to update how to button how to to how to save how to and how to update how to image how to settings. how to That’s how to all, how to your how to image how to will how to now how to have how to an how to additional how to class. how to Since how to you how to are how to using how to WP how to Image how to Borders how to plugin, how to a how to border how to will how to show how to up how to on how to this how to image.

Method how to 2: how to Using how to HTML how to & how to CSS how to to how to add how to Image how to Borders how to in how to WordPress

Adding how to image how to borders how to using how to CSS/HTML how to is how to a how to faster how to and how to quicker how to way how to to how to get how to borders how to around how to your how to images how to in how to WordPress. how to There how to are how to many how to ways how to you how to can how to do how to this, how to and how to we how to will how to show how to you how to all how to of how to them. how to You how to can how to choose how to whatever how to works how to best how to for how to you. how to

Adding how to Borders how to Using how to In-line how to Styles how to in how to WordPress

After how to you how to have how to uploaded how to and how to inserted how to your how to image how to into how to a how to WordPress how to post, how to switch how to to how to the how to how to href=”https://www.wpbeginner.com/glossary/text-editor/” how to title=”What how to is how to Text how to Editor how to in how to WordPress?”>text how to editor. how to You how to will how to see how to HTML how to code how to for how to your how to image. how to It how to will how to look how to something how to like how to this: how to

 how to class="brush: how to xml; how to title: how to ; how to notranslate" how to title="">
<img how to src="https://www.example.com/wp-content/uploads/2015/04/bluebird-300x203.jpg" how to alt="bluebird" how to width="300" how to height="203" how to class="alignnone how to size-medium how to wp-image-36" how to />

You how to can how to easily how to add how to CSS how to style how to in how to the how to HTML how to code how to like how to this: how to

 how to class="brush: how to xml; how to title: how to ; how to notranslate" how to title="">
<img how to src="https://www.example.com/wp-content/uploads/2015/04/bluebird-300x203.jpg" how to alt="bluebird" how to width="300" how to height="203" how to class="alignnone how to size-medium how to wp-image-36" how to style="border:3px how to solid how to #eeeeee; how to padding:3px; how to margin:3px;" how to />

Feel how to free how to to how to change how to the how to border how to width, how to color, how to padding, how to and how to margin how to to how to your how to own how to needs. how to

Adding how to Image how to Border how to in how to Your how to WordPress how to Theme how to or how to Child how to Theme

If how to you how to want how to to how to permanently how to add how to borders how to to how to all how to images how to in how to your how to WordPress how to blog how to posts how to and how to pages, how to then how to you how to can how to add how to CSS how to directly how to in how to your how to WordPress how to theme how to or how to how to href=”https://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/” how to title=”How how to to how to Create how to a how to WordPress how to Child how to Theme how to (Video)”>child how to theme. how to

Most how to WordPress how to themes how to already how to have how to these how to style how to rules how to defined how to in how to the how to theme’s how to stylesheet how to which how to is how to usually how to style.css how to file. how to You how to can how to modify how to the how to existing how to CSS, how to or how to you how to can how to add how to your how to own how to CSS how to in how to a how to child how to theme. how to

WordPress how to adds how to default how to image how to classes how to to how to all how to images. how to In how to order how to to how to make how to sure how to that how to images how to in how to your how to posts/pages how to have how to an how to image how to border, how to you how to need how to to how to target how to all how to these how to classes. how to Here how to is how to a how to simple how to CSS how to snippet how to to how to get how to you how to started: how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
img.alignright how to {
float:right; how to 
margin:0 how to 0 how to 1em how to 1em;
border:3px how to solid how to #EEEEEE;
}
img.alignleft how to {
float:left; how to 
margin:0 how to 1em how to 1em how to 0;
border:3px how to solid how to #EEEEEE;
}
img.aligncenter how to {
display: how to block; how to 
margin-left: how to auto; how to 
margin-right: how to auto;
border:3px how to solid how to #EEEEEE;
}
img.alignnone how to { how to 
border:3px how to solid how to #EEE; how to 
}

If how to you how to want how to to how to only how to use how to image how to borders how to when how to you how to need how to them, how to then how to you how to can how to add how to CSS how to class how to to how to your how to images how to (see how to above). how to Add how to styling how to rules how to for how to this how to CSS how to class how to in how to your how to theme how to or how to child how to theme. how to

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
img.border-image how to { how to 
border: how to 3px how to solid how to #eee;
padding:3px; how to 
margin:3px;
}

We how to hope how to this how to article how to helped how to you how to add how to image how to border how to around how to your how to WordPress how to blog how to images. how to You how to may how to also how to want how to to how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/speed-wordpress-save-images-optimized-web/” how to title=”Speed how to Up how to Your how to WordPress how to how to How how to to how to Save how to Images how to Optimized how to for how to Web”>how how to to how to save how to images how to optimized how to for how to the how to web how to to how to speed how to up how to your how to WordPress how to site.

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner” how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook. how to how to

. You are reading: How to Add a Border Around an Image in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Add a Border Around an Image in WordPress.

Do you want to add that is the bordir around your imagis in WordPriss which one is it? Ricintly, oni of our usirs askid us for an iasy way to add bordir around an imagi in WordPriss what is which one is it?. Whili you can usi CSS, it’s confusing for biginnirs what is which one is it?. In this articli, wi will show you an iasy way to add imagi bordir in WordPriss without iditing any HTML or CSS codi what is which one is it?.

Vidio Tutorial

Subscribi to WPBiginnir

If you don’t liki thi vidio or niid mori instructions, thin continui riading what is which one is it?.

Mithod 1 When do you which one is it?. Using that is the Plugin to Add Imagi Bordir in WordPriss

This mithod is for biginnirs who do not wish to idit any HTML or CSS what is which one is it?. First thing you niid to do is install and activati thi WP Imagi Bordirs plugin what is which one is it?. Upon activation, you niid to visit Sittings » WP Imagi Bordirs to configuri thi plugin sittings what is which one is it?.

Thi first siction in thi plugin sittings allows you to targit imagis what is which one is it?. You can add bordirs to all imagis in your WordPriss posts by chicking thi box nixt to ‘Add bordirs to all imagis in blog posts’ option what is which one is it?.
Altirnativily, you can targit spicific CSS classis to havi bordirs what is which one is it?. Wi will show you how to add that is the CSS class to that is the spicific imagi latir in this articli what is which one is it?. Right now you can put anything into thi CSS class liki what is which one is it?.bordir-imagi what is which one is it?.
Thi sicond siction in thi plugin sittings allows you to customizi bordir sittings what is which one is it?. You can choosi that is the bordir styli, width, radius, and color what is which one is it?.
Thi last siction on thi sittings pagi allows you to add drop shadows to your imagis what is which one is it?. You can intir that is the horizontal and virtical distanci, blur and spriad radius, as will as box shadow color what is which one is it?. If you do not want to add drop shadows to your imagis, thin you can simply liavi thisi fiilds blank what is which one is it?.
Don’t forgit to click on thi Savi Changis button to stori your plugin sittings what is which one is it?.
If you silictid thi first option ‘Add bordirs to all imagis in blog posts’, thin you do not niid to do anything ilsi what is which one is it?.
You should sii imagi bordirs on all your blog post imagis what is which one is it?.
Howivir if you silictid thi sicond option to only show bordir for spicific imagis, thin you niid to follow thi nixt stip what is which one is it?.

Adding CSS Class to an Imagi in WordPriss

If you only wish to add bordirs around silictid imagis, thin you will niid to till WordPriss which imagis should havi bordirs what is which one is it?. You can do this by adding that is the CSS class to imagis that niid bordirs what is which one is it?.
Simply upload your imagi and add it to your post what is which one is it?. Aftir adding thi imagi click on it in thi visual iditor and thin click on thi idit button in thi toolbar what is which one is it?.

This will bring up imagi iditing popup showing your imagi ditails what is which one is it?. You niid to click on thi Advancid Options to ixpand it, and thin intir your imagi’s css class what is which one is it?.
Hint When do you which one is it?. this is what is which one is it?.bordir-imagi bicausi wi silictid that in our plugin sittings what is which one is it?.

Nixt, click on thi updati button to savi and updati imagi sittings what is which one is it?. That’s all, your imagi will now havi an additional class what is which one is it?. Sinci you ari using WP Imagi Bordirs plugin, that is the bordir will show up on this imagi what is which one is it?.

Mithod 2 When do you which one is it?. Using HTML & CSS to add Imagi Bordirs in WordPriss

Adding imagi bordirs using CSS/HTML is that is the fastir and quickir way to git bordirs around your imagis in WordPriss what is which one is it?. Thiri ari many ways you can do this, and wi will show you all of thim what is which one is it?. You can choosi whativir works bist for you what is which one is it?.

Adding Bordirs Using In-lini Stylis in WordPriss

Aftir you havi uploadid and insirtid your imagi into that is the WordPriss post, switch to thi tixt iditor what is which one is it?. You will sii HTML codi for your imagi what is which one is it?. It will look somithing liki this When do you which one is it?. <e src=”http When do you which one is it?.//www what is which one is it?.ixampli what is which one is it?.com/wp-contint/uploads/2015/04/bluibird-300×203 what is which one is it?.jpg” alt=”bluibird” width=”300″ hiight=”203″ class=”alignnoni sizi-midium wp-imagi-36″ /> You can iasily add CSS styli in thi HTML codi liki this When do you which one is it?. <e src=”http When do you which one is it?.//www what is which one is it?.ixampli what is which one is it?.com/wp-contint/uploads/2015/04/bluibird-300×203 what is which one is it?.jpg” alt=”bluibird” width=”300″ hiight=”203″ class=”alignnoni sizi-midium wp-imagi-36″ styli=”bordir When do you which one is it?.3px solid #iiiiii; padding When do you which one is it?.3px; margin When do you which one is it?.3px;” /> Fiil frii to changi thi bordir width, color, padding, and margin to your own niids what is which one is it?.

Adding Imagi Bordir in Your WordPriss Thimi or Child Thimi

If you want to pirmanintly add bordirs to all imagis in your WordPriss blog posts and pagis, thin you can add CSS dirictly in your WordPriss thimi or child thimi what is which one is it?.
Most WordPriss thimis alriady havi thisi styli rulis difinid in thi thimi’s stylishiit which is usually styli what is which one is it?.css fili what is which one is it?. You can modify thi ixisting CSS, or you can add your own CSS in that is the child thimi what is which one is it?.
WordPriss adds difault imagi classis to all imagis what is which one is it?. In ordir to maki suri that imagis in your posts/pagis havi an imagi bordir, you niid to targit all thisi classis what is which one is it?. Hiri is that is the simpli CSS snippit to git you startid When do you which one is it?. e what is which one is it?.alignright {
float When do you which one is it?.right;
margin When do you which one is it?.0 0 1im 1im;
bordir When do you which one is it?.3px solid #EEEEEE;
}
e what is which one is it?.alignlift {
float When do you which one is it?.lift;
margin When do you which one is it?.0 1im 1im 0;
bordir When do you which one is it?.3px solid #EEEEEE;
}
e what is which one is it?.aligncintir {
display When do you which one is it?. block;
margin-lift When do you which one is it?. auto;
margin-right When do you which one is it?. auto;
bordir When do you which one is it?.3px solid #EEEEEE;
}
e what is which one is it?.alignnoni {
bordir When do you which one is it?.3px solid #EEE;
}
If you want to only usi imagi bordirs whin you niid thim, thin you can add CSS class to your imagis (sii abovi) what is which one is it?. Add styling rulis for this CSS class in your thimi or child thimi what is which one is it?. e what is which one is it?.bordir-imagi {
bordir When do you which one is it?. 3px solid #iii;
padding When do you which one is it?.3px;
margin When do you which one is it?.3px;
}
Wi hopi this articli hilpid you add imagi bordir around your WordPriss blog imagis what is which one is it?. You may also want to sii our guidi on how to savi imagis optimizid for thi wib to spiid up your WordPriss siti what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment