Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shape Divider between two images or gradients. #3829

Closed
jcmatoskx opened this issue Mar 21, 2018 · 82 comments
Closed

Shape Divider between two images or gradients. #3829

jcmatoskx opened this issue Mar 21, 2018 · 82 comments
Labels
element/settings/shape-divider References the top and bottom element Shape Divider feature. request/enhancement Indicates an Enhancement Request for an existing feature. type/styles Indicates when a topic is related to the styles or design of a component.

Comments

@jcmatoskx
Copy link

It would be great if we could create a shape divider between two backgrounds with images or gradients.
It seems shape dividers are only possible if one of the sections is a solid color, but it would be nice if we could select to continue the gradient from the other section, or the image.

@bainternet
Copy link
Contributor

@jcmatoskx

Can you provide an example to what you mean?

@bainternet bainternet added the status/needs-feedback Indicates when an Issue, Pull Request, or Discussion awaits Feedback from the poster. label Mar 25, 2018
@jcmatoskx
Copy link
Author

I have an image from my website, it's not a great example because the gradient is very subtle and the image is a dark texture, but essentially the issue is that if the two sections are either a gradient or image, there is no way to blend their transition with a shape divider between them as the shape divider input is always a solid color. Or is there something I didn't understand?
shapedividwe

@TomRaraAvis
Copy link

The shape divider being a solid color is also a problem for me. I want to push the image in the second section to show in the shape divider above, and it isn't possible because the shape divider is solid. The shape divider looks silly when images are juxtaposed. Wish it could be transparent & somehow punch a shape hole through the section on which it is applied & then I could negative margin-top the section below.

capture

@jcmatoskx
Copy link
Author

Yup that is exactly the issue I am talking about

@bainternet bainternet added request/feature Indicates a Request for a non-existing New Feature. and removed status/needs-feedback Indicates when an Issue, Pull Request, or Discussion awaits Feedback from the poster. labels Mar 29, 2018
@bainternet
Copy link
Contributor

thanks for the clarification,

Currently, this feature is not supported, but we will look into it in the future if we see a large demand for it.

Thanks for the feedback.

@cobbman
Copy link

cobbman commented Jul 17, 2018

+1 for this feature!

@stijnvanouplines
Copy link

+1

@yeshansachithak
Copy link

+1
Having the same issue.

@black-eye
Copy link

+1

2 similar comments
@toniodz
Copy link

toniodz commented Sep 6, 2018

+1

@nicolasteetz
Copy link

+1

@theol0403
Copy link

theol0403 commented Dec 18, 2018

+1
image

@netbloger
Copy link

+1 for this feature also!!

@clondon
Copy link

clondon commented Feb 3, 2019

+1

1 similar comment
@nboaldin
Copy link

nboaldin commented Feb 7, 2019

+1

@robertopib
Copy link

+1 Here, I ended up leaving a solid color in between, but it would be nice to have the two images blend.
screen shot 2019-02-07 at 7 35 18 pm

@clondon
Copy link

clondon commented Feb 7, 2019

Hi,
I have been using a workaround that might help.
You set a higher z-index on the following section and then using a negative margin to move the section up until the white area is covered.
screenshot 2019-02-07 21 48 17
have used this on my website and the effect is quite nice.
I hope this helps.

@robertopib
Copy link

Thanks @clondon The problem is when you have tow sections with image background. Your workaround works when you have a section with a BG image and then a solid color, actually you don't even need to set any z-index, just change the color of the shape divider to match the color of following section.

@Aroundme12
Copy link

Saw this done on a homepage looking to pull this off anyone have an idea.
https://dartingbasketball.com/

Thanks

@Aroundme12
Copy link

Thanks @clondon The problem is when you have tow sections with image background. Your workaround works when you have a section with a BG image and then a solid color, actually you don't even need to set any z-index, just change the color of the shape divider to match the color of following section.

Correct!

@robertopib
Copy link

Saw this done on a homepage looking to pull this off anyone have an idea.
https://dartingbasketball.com/

Thanks

That's exactly what we need to accomplish! Nice example!

@Aroundme12
Copy link

Working on it now i'll see if I can get it. Been at for 4 hours already.

@robertopib
Copy link

Me too, did you try the clip-path: polygon?

@Aroundme12
Copy link

I'm okay with code not that great self taught.

@Aroundme12
Copy link

trying it now

@robertopib
Copy link

I think I have it figured out, I inspected the example you post, and I think I have it, just a minute and I'll let you know what I did.

@emailjough
Copy link

Worked out a simple solution here. No need for clip path. If you skew a background overlay and give its section negative margin top+bottom you can have adjacent angled sections with bg images. Scales well on mobile too. One line of css. The rest is all elementor.

https://bit.ly/2wOA0lH

On my demo page you may see a part of the lower section on scroll but thats only because I set the bg image to position:fixed b/c I liked the effect.

screenshot-joehonzik com-2020 03 30-22_19_08

@oooh-boi
Copy link

oooh-boi commented Apr 1, 2020

No need for shape dividers at all! You need a mask and a negative margin on columns/sections. I've made an add-on that can be used to mask Image widget and Background Overlays of either a column or the section. http://elementor.wpshow.me/ooohboi/ooohboi-image-mask/

@dietcheese
Copy link

No need for shape dividers at all! You need a mask and a negative margin on columns/sections. I've made an add-on that can be used to mask Image widget and Background Overlays of either a column or the section. http://elementor.wpshow.me/ooohboi/ooohboi-image-mask/

You’ve got some great add-ons here. Should package them and I’d buy em all.

@hungryjos
Copy link

No need for shape dividers at all! You need a mask and a negative margin on columns/sections. I've made an add-on that can be used to mask Image widget and Background Overlays of either a column or the section. http://elementor.wpshow.me/ooohboi/ooohboi-image-mask/

@oooh-boi , once again you rescued me. As @dietcheese says: a package with all elements would be great, but I bought them all for now. Thanks!

@bentalgad
Copy link

No need for shape dividers at all!

You right, let's add another plugin to the long list of plugins you have to load beside the Elementor plugin which adds enormous amount of DOM elements and scripts any ways and makes sites load amazingly slow. i guess that's the reason even Elementor didn't use Elementor for there new "experts" site (they used it only for header and footer so it won't be too ridiculous that they didn't use it at all :)

@oooh-boi
Copy link

oooh-boi commented Apr 4, 2020

You right, let's add another plugin to the long list of plugins you have to load beside the Elementor

Is there any other way of extending Elementor but to create a WordPress plugin?

@bentalgad
Copy link

bentalgad commented Apr 5, 2020 via email

@oooh-boi
Copy link

oooh-boi commented Apr 5, 2020

To let Elementor add this basic stuff.

Are you being serious?!? I might get old or die before that happens. Elementor development team is not a jukebox, you can't make a wish, get the dollar and make them play for you... besides, they have made an awesome API, why not using it? Because you gonna have to install another plugin, right? Well, imagine the world without WordPress plugins or Elementor add-ons. They just wouldn't exist.

@nadworks
Copy link

nadworks commented Jan 24, 2021

+1
Geezuz, this should have been fixed from the stat, such an obvious oversight. I ran into the issue 10 mins after first using Elementor. C'mon, please.

And...

Dear @oooh-boi, with all due respect, nobody expects the devs to drop everything and fulfil our wishes. But Elementor is premium plugin and the internet is not standing still. The worst that can happen is for paying customers to stop caring to feed back and seize to request improvements. So please appreciate that a lively discussion on how to make an awesome piece of kit even better is a good thing.

@omartheman
Copy link

Might be easier to add a clip-path in CSS. Then you don't need to change all the colors if the background color changes.

@joexcm
Copy link

joexcm commented Apr 18, 2021

+1 for the feature please

@5jv
Copy link

5jv commented Apr 25, 2021

Has anyone found a solution?

@emailjough
Copy link

Has anyone found a solution?

Yes. I posted a simple, responsive solution a year ago here (see above) that doesn't require adding another plugin or using a clip path or mask. I provided the simple css, a screenshot and link to the demo, but for some reason its been completely ignored. Is there something wrong with it? I'm just curious.

@5jv
Copy link

5jv commented Apr 25, 2021

Has anyone found a solution?

Yes. I posted a simple, responsive solution a year ago here (see above) that doesn't require adding another plugin or using a clip path or mask. I provided the simple css, a screenshot and link to the demo, but for some reason its been completely ignored. Is there something wrong with it? I'm just curious.

I tried your solution but here is for example what I am trying to do and I cannot come up with this solution

@5jv
Copy link

5jv commented Apr 25, 2021

The other problem with your solution is that this also skews the background image, ideally the background image should stay perfectly straight in the block, it should not be tilted with it.

@emailjough
Copy link

The other problem with your solution is that this also skews the background image, ideally the background image should stay perfectly straight in the block, it should not be tilted with it.

Gotcha. Thanks for pointing that out. I agree that is a flaw in my solution I hadn't noticed before.

@thorsolutions
Copy link

+1

1 similar comment
@fxaviers
Copy link

+1

@mjflower
Copy link

mjflower commented Sep 6, 2021

+1 please elementor team

@kitsunecreativeco
Copy link

another +1

@zierbeek
Copy link

another ++

If anyone has a solution to fix this, thanks!

Schermafbeelding 2022-01-11 om 08 59 11

@Johnvrkmp
Copy link

another +1

@QuantGeekDev
Copy link

+1

@nicholaszein nicholaszein added request/enhancement Indicates an Enhancement Request for an existing feature. element/settings/shape-divider References the top and bottom element Shape Divider feature. type/styles Indicates when a topic is related to the styles or design of a component. and removed request/feature Indicates a Request for a non-existing New Feature. labels Nov 27, 2022
@SolunaCG
Copy link

thanks for the clarification,

Currently, this feature is not supported, but we will look into it in the future if we see a large demand for it.

Thanks for the feedback.

I wonder if this will be implemented at some point 😕 . Judging by this thread and the amount of comments the demand seems to be large. Any updates here? Maybe we can open the thread again to make it "visible" again and to let everyone know that this is still a feature that many ppl would like to have and which is not implemented yet as it seems. At least I haven´t found a solution, even after writing with the support.

@khahina
Copy link

khahina commented Sep 21, 2023

+1

1 similar comment
@zzella
Copy link

zzella commented Jan 7, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
element/settings/shape-divider References the top and bottom element Shape Divider feature. request/enhancement Indicates an Enhancement Request for an existing feature. type/styles Indicates when a topic is related to the styles or design of a component.
Projects
None yet
Development

No branches or pull requests