Okay
  Public Ticket #3491806
custom row clip path
Closed

Comments

  •  28
    Co-Brains started the conversation

    Hi!

    I'm using animation for the "clip path row," and I'd like to achieve a kind of rectangle with rounded top corners, like an arched window. I've tried to create it using the "Roundess End" option by setting the border radius to 30% 30% 0 0, but when using percentages, the shape won't remain consistent on mobile.

    I was wondering if there's a way to use a custom path as the animation target, or in my case, something like this:

    clip-path: inset(40vh 30% 30vh url('shape.svg'));

    Can you help me with this?
    Thank you!

  •  8,939
    Tahir replied

    Hey Again,

    Please provide the page URL so we can write up what's possible.

    Thanks.


    ThemeNectar Support Team 

  •  28
    Co-Brains replied

    sure! 

    here you are!

    I've use the "clip path expanding video" template as a basis for that.

    Thank you for your help

  •  8,939
    Tahir replied

    Hey Again,

    I am afraid adding in a custom path would not be possible at the moment. However aren't you able to adjust the path for mobile differently then on desktop using these options: 

    1556719391.png

    Thanks.


    ThemeNectar Support Team 

  •  28
    Co-Brains replied

    Hi Tahir,

    I've already did that, but the problem is for edge roundness, that can't be customized for mobile differently.

    I've tried to create it using the "Roundess End" option by setting the border radius to 30% 30% 0 0, but when using percentages, the shape won't remain consistent on mobile.

    Is there a way to setup a different round edges on mobile?

    Thank you

  •  8,939
    Tahir replied

    Could you try using vh and vw instead of percentage and check ?.


    ThemeNectar Support Team 

  •  28
    Co-Brains replied

    I think vh it's the best solution, but it's not exactly what I was looking for.

    I hope that soon will be added the ability to adjust the Roundess for mobile differently.

    Thank you for your help and have a nice day