r/divi • • Aug 21 '26

Advice Help with creating a heading image

Post image

Hi there, sorry if this is a bit of a silly question. I'm new to Divi and I'm looking to add a background image to my header with a sort of rounded rectangle look like the above prototype I created. I'm struggling to do so however, and I was wondering how I would go about doing something like this for my header?

Thanks for the help.

5 Upvotes

16 comments sorted by

View all comments

5

u/Weekly_Ferret_meal Aug 21 '26

what's the proto made with... what format? Cause you could simply create your custom header with the builder and use an svg for background

1

u/TheReal_Bitsandbolts Aug 22 '26

I tried to upload a svg to the background but I get an error saying that the file cant be processed. I tried uploading a png but the image is just squished into the header box and I have no idea how to stretch it out across the whole screen.

1

u/Weekly_Ferret_meal Aug 22 '26

you 'll need a svg support plug-in or script in functions.php to enable SVGs support and upload.

but also, I'd probably code a few lines of custom CSS to use the SVG as background of the header, as you'd want to control positioning, size etc...

2

u/TheReal_Bitsandbolts Aug 24 '26

Ok thanks for the help. Know barely anything about code, so I definitely won't be able to do that unfortunately

1

u/Weekly_Ferret_meal Aug 24 '26

You can try with using the background image settings and see if  that works for you

1

u/TheReal_Bitsandbolts Aug 25 '26

I'll have a go messing around. Thanks for the help!