• Resolved xanou

    (@xanou)


    Hello, so when i use the below custom css for an underline animation effect on hover. It kinda messes up with other elements used on my header along with my wordpress top admin bar. The links get aligned messed up, some icons, columns also align wrong and get messed up.

    The custom CSS i use:

    a::before {
      content: "";
      position: absolute;
      display: block;
      width: 100%;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: #000;
      transform: scaleX(0);
      transform-origin: top left;
      transition: transform 0.3s ease;
    }

    Note: That i use that in custom css of my mega menu element in elementor css custom code.

    I know im doing something wrong, like it grabs all links globally (“a”) grabbing the link selector. However i am only adding this code in the particular mega menu element so it should work only for that i suppose or not?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Leap13

    (@leap13)

    Hi @xanou

    Hope you’re doing well today!

    I’m so sorry, but we can provide support if there is an issue in the plugin itself or an option you don’t know how to use, but not for a custom code you added yourself to add/change functionality to one of our elements.

    The devs team can check this for you, but please send us a message on our website.

    Regards

    Thread Starter xanou

    (@xanou)

    Hello,

    I am good, thank you!

    I am basically looking to replicate your menu in your website, where an underline effect slides from the left. Could you please elaborate or help me on how to achieve that? I don’t necessarily want to use that code, just to achieve a kinda similar or same result as your website nav menu with the slide underline effect on hover.

    Merry Christmas and happy holidays!

    Thanks in advance for your time.

    Plugin Author Leap13

    (@leap13)

    Hi @xanou

    Could you please share a screenshot of the menu on our website that you want to replicate so I can have a look and help?

    Regards

    Plugin Author Leap13

    (@leap13)

    Hi @xanou

    I didn’t hear back from you. We hope everything is going fine with you today.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom css to mega menu element’ is closed to new replies.