How to Create Beautiful Image Borders using Divi’s New Options

Last Updated on January 3, 2023 by 15 Comments

Editorial Note: We may earn a commission when you visit links on our website.
How to Create Beautiful Image Borders using Divi’s New Options
Blog / Divi Resources / How to Create Beautiful Image Borders using Divi’s New Options
Play Button

In today’s Divi tutorial, we’re going to show you how to create beautiful image borders on the next website you build. The purpose of this post is to demonstrate how you can create beautiful results that match the images you are using (and the rest of your website as well).

With the new Divi options, achieving stunning results is easier than ever. You’ll only have to make some modifications that we’ll show you how to make and you’ll be ready to take your web design to the next level. All 8 examples we’ll share with you will use nothing else than the built-in options that the Divi Builder and Image Module offer.

Sneak peek

Let’s take a look at the results you can expect from this post:

image borders

How to Create Beautiful Image Borders using Divi’s New Options

Subscribe To Our Youtube Channel

Gradient Background

The first possibility you have to achieve beautiful image borders is using a gradient background only. By experimenting with the various gradient background settings, you can achieve simple yet elegant results. We’ll show you three examples of image borders that consist solely of a gradient background.

Standard

The first example we’ll be handling is the simplest and most modest of them all; a standard gradient image border. The result we’ll show you how create looks like this:

image borders

Content Tab

Start by choosing a gradient background in the Content tab. For this example, we’ve used the following settings:

  • First Color: #081e8c
  • Second Color: #764f9b
  • Gradient Type: Linear
  • Gradient Direction: 269deg
  • Start Position: 40%
  • End Position: 60%

image borders

Design Tab

The next and last thing you’ll need to do is add some padding to the image. It’s simple as that. Go to the Design tab and add ’10px’ to the top, bottom, right and left padding.

image borders

Sides

Next up, we have an image border that only shows at the left and right side of the image. Using this kind of image border gives a nice extra touch to the image without putting too much focus on the border itself.

image borders

Content Tab

To achieve this type of image border, start by adding the following gradient background to your image:

  • First Color: rgba(255,255,255,0)
  • Second Color: #0a8da8
  • Gradient Type: Linear
  • Gradient Direction: 166deg
  • Start Position: 29%
  • End Position: 52%

image borders

Design Tab

In the Design tab, the only thing you’ll need is ’10px’ of padding for the right and left side.

image borders

One Corner

Moving on, you can also create corner backgrounds for the images on your website. This type of border is great to use when you want to emphasize a color that is being used within the image.

image borders

Content Tab

For the third image example, use the following gradient background:

  • First Color: rgba(58,8,1,0.58)
  • Second Color: rgba(41,196,169,0)
  • Gradient Direction: 152deg
  • Start Position: 34%
  • End Position: 28%

image borders

Design Tab

Then, add ’20px’ to each one of the paddings as well.

image borders

Image Border & Gradient Background

Another possibility you have is combining a gradient background with an image border. This, too, can deliver stunning results as you’ll be able to witness in the next four examples.

Subtle Gradient

The first combination of gradient background and image border is simple yet beautiful. By using the same colors for the gradient background and the border, the image border somehow feels like it’s getting filled with color.

image borders

Content Tab

Start by adding the following gradient background settings to your image:

  • First Color: rgba(255,255,255,0)
  • Second Color: #777777
  • Gradient Type: Linear
  • Gradient Direction: 180deg
  • Start Position: 65%
  • End Position: 78%

image borders

Design Tab

Move on to the Design tab and use the following settings in the Border subcategory:

  • Use Border: Yes
  • Border Color: #777777
  • Border Width: 3px
  • Border Style: Solid

image borders

Lastly, add a padding of ‘7px’ to all the padding options.

image borders

Shaped

Next, we have an example that is great to draw the attention of the visitors. The image itself contains in this case mostly lighter colors, which creates a nice balance with the darker border.

image borders

Content Tab

The gradient background settings you’ll be needing for this image border are the following:

  • First Color: rgba(53,0,188,0.1)
  • Second Color: #680061
  • Gradient Type: Radial
  • Radial Direction: Center
  • Start Position: 80%
  • End Position: 80%

image borders

Design Tab

Proceed to the Design tab and use the following border:

  • Use Border: Yes
  • Border Color: #9a00bc
  • Border Width: 1px
  • Border Style: Solid

image borders

Scroll down and add the following padding to the image:

  • Top: 7px
  • Right: 5px
  • Bottom: 7px
  • Left: 5px

image borders

Double Border

Using a double border in combination with a gradient background can deliver some stunning results as well. Take a look:

image borders

Content Tab

The gradient background color we’ve used in this example is the following:

  • First Color: rgba(224,43,32,0.61)
  • Second Color: rgba(12,113,195,0.87)
  • Gradient Type: Radial
  • Radial Direction: Center
  • Start Position: 71%
  • End Position: 93%

image borders

Design Tab

Moving on, use the following settings for the Border subcategory:

  • Use Border: Yes
  • Border Color: #f4f4f4 (match with your section background color)
  • Border Width: 8px
  • Border Style: Double

image borders

And add ’10px’ to the top, bottom, right and left padding of the image.

image borders

Triangle Corners

Moving on, you can also create some small corners in your border by using the gradient background option in combination with a dashed border.

image borders

Content Tab

To achieve the image border we’ve shown you above, use the following gradient background settings:

  • First Color: rgba(163,103,6,0)
  • Second Color: #e09900
  • Gradient Type: Radial
  • Radial Direction: Center
  • Start Position: 97%
  • End Position: 97%

image borders

Design Tab

In the Design tab, we’ll need to have the following border settings as well:

  • Use Border: Yes
  • Border Color: #e09900
  • Border Width: 2px
  • Border Style: Dashed

image borders

Lastly, we’ll need a padding of ‘8px’ for the top, bottom, left and right padding.

image borders

Pattern & Gradient Background

The last possibility we want to put in the spotlight is using a pattern and gradient background at the same time. This allows you to play around with the look and feel of your images.

Playful

This border contains a gradient background of two colors that are used within the image itself as well. By adding a background pattern as well, the image gives a bit more atmosphere to your website.

image borders

Content Tab

For the last example, we’ll use the following gradient background settings:

  • First Color: rgba(4,49,96,0.51)
  • Second Color: rgba(119,74,15,0.51)
  • Gradient Type: Linear
  • Gradient Direction: 180deg
  • Start Position: 0%
  • End Position: 100%

image borders

Design Tab

Next, we’re adding a pattern background as well. The pattern we’ve used in this example comes from Toptal. You can use their patterns for all kinds of purposes, just make sure you credit them within your code as mentioned in their FAQ. Once you’ve added the pattern background, use the following settings as well:

  • Background Image Size: Cover
  • Background Image Position: Center
  • Background Image Repeat: No Repeat
  • Background Image Blend: Multiply

image borders

The last thing you’ll need to do is add a padding of ’12px’ to the top, bottom, right and left padding of your image.

image borders

Final Thoughts

In this post, we’ve shown you some different ways of creating beautiful image borders. These options give you a perspective on the things you can do with the new Divi options without using any additional CSS. If you have any questions or suggestions; make sure you leave a comment in the comment section below!

Be sure to subscribe to our email newsletter and YouTube channel so that you never miss a big announcement, useful tip, or Divi freebie!

Featured Image by Mr Aesthetics / shutterstock.com

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! 👇

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow 👇

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How 👇

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

New Starter Site for AI (Quick Install)

New Starter Site for AI (Quick Install)

Posted on December 17, 2024 in Divi Resources

Divi empowers you to build the best websites possible, and now, Divi Quick Sites takes website creation to a whole new level. This revolutionary tool lets anyone, regardless of skill level, generate a complete website in under two minutes! Divi Quick Sites provides everything you need to launch...

View Full Post

15 Comments

  1. Using the dotted or dashed line border example; is there any way to force it on one side only (or similarly top/bottom) as opposed to an ‘all around framing effect’?

    (Comparable example) you make the illusion with a triangle in the top corner with gradients which got me thinking on how can we manipulate borders more?

    Huge thanks – great learning video as always

  2. Thanks – you really have to think visually and ‘out of the box’ (pun intended) to see all the possibilities. We get lazy and look for the settings and controls that would do something like this. 🙂

  3. Thanks for writing such a detailed article. I think its time to upgrade my blog too with all the amazing designs, image borders, ideas you have on your blog.

  4. Yes! Just what I was looking for. It looks amazing! Thank you!

  5. Thanks for this informative post.

  6. Fantastic help and thanks ! I love the way you give instructions clearly then back it up with graphics !! So easy to follow.

  7. Am I missing something? I can’t get this to work on featured photos on my post pages. The images don’t seem to be within a Divi module. Should I be setting up my blog in a different way?

  8. Wow, that is so cool that you can do that now without css.
    Thanks, Donjete.

  9. We the possibilities and opportunities get better and better. I can hardly keep up!

  10. Great article! Very usefull. I wan’t more:P
    Maybe some polaroid photo effect with shadows nad stickers on it?

  11. what is interesting for Germany is a direct caption visible on the image because of the copyright.

  12. Espectacular, la verdad que DIVI no deja de sorprenderme más y más cada día…es lo mejor que existe en e mercado genial!!!!
    Gracias y enhorabuena por vuestro trabajo.

  13. For someone new to Divi this is very helpful. Thank you.

  14. Thank you Donjete Vuniqi. Good stuff to use for any website…

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today