Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Nav menu slanted block effects

Discussion in 'Misc WordPress Requests' started by Justin, Mar 20, 2018.

  1. Justin

    Guest

    Reply To: Nav menu slanted block effects, by Justin

    Hi Lisa, not sure if this will work since I can’t see your site’s source, but if you are skewing a parent element negatively, maybe you could just skew the text inside positively?

    Otherwise you could look at using the clip-path property, something like this:

    .login-link {
    -webkit-clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    }

    Hope that helps!

    Reply To: Nav menu slanted block effects
     
    #1

Share This Page

Monarch Social Sharing Plugin