How to add Elementor menu hover effect

How to add Elementor menu hover effect

If you are using the Elementor editor, you can add a custom CSS menu hover effect by following these steps:

Open the page or template:

  • Log in to the WordPress dashboard.
  • Navigate to the page that needs to be edited with Elementor.
How to add Elementor menu hover effect
  • Edit the Header, Footer or the template containing the menu.
How to add Elementor menu hover effect

Add or edit the navigation Elementor:

  • Navigate to an existing menu element or add the "WordPress Menu" element to the Elementor tab.
How to add Elementor menu hover effect
  • Click the Advanced tab on the element.
How to add Elementor menu hover effect
  • Navigate to the Customize CSS drop-down menu.
How to add Elementor menu hover effect

Copy the CSS styles:

  • Copy the desired menu hover style from the library on our homepage.
How to add Elementor menu hover effect

Add CSS code:

  • Paste the CSS style into the text area of the Custom CSS drop-down list.
How to add Elementor menu hover effect

Edit Color:

  • Some menu styles use Elementor's default "pointer" colors.
  • Navigate to the Style tab of the menu.
  • Click Hover and then edit the Color under the Color picker.
How to add Elementor menu hover effect
  • Optional: To override Elementor's default color styles, end the ";" with! important.
How to add Elementor menu hover effect

Save and Publish

  • Click "update"or"post" to apply the changes.

Others can use the other 4 types ofconversions::

  • Matrix: Apply complex 2D transformations via transformation matrices.
  • Translation (translate): Moves the position of an element in two or three dimensions.
  • Rotate: Rotate the element around the specified point.
  • Skew: Twist an element so that it is tilted horizontally or vertically.

Sample code:

/* Example of hover effect */
selector:hover {
  color: #ffffff !important;
  background-color: #000000 !important; transform: translateY(-10px); /* add translation effect */ hover
  transform: translateY(-10px); /* Add translation effect */
}

/* Example of rotation effect */
selector:hover {
  transform: rotate(10deg); /* add rotation effect */
}

/* Tilt example */
selector:hover {
  transform: skewX(10deg); /* Add horizontal skew */
}

/* Matrix effect example */
selector:hover {
  transform: matrix(1, 0.5, -0.5, 1, 0, 0); /* add matrix effect */
}

Summary:

How to add Elementor menu hover effect

If you are using the Elementor editor, you can enhance the hover effect of the menu by adding custom CSS. Navigate Elementor by adding or editing in the Elementor tab, go to the Advanced tab, and navigate to the Custom CSS drop-down menu. Adjust the hover color by editing the color option in the Styles tab. The hover animation of the menu can also be further customized using effects such as Matrix, Translate, Rotate and Skew.


Contact Us
Can't read the article? Contact us for a free answer! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
Posted by photon fluctuations, retweeted with attribution:https://www.361sale.com/en/10268/

Like (1)
Previous May 24, 2024 pm3:19
Next May 25, 2024 10:56 am

Recommended

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

020-2206-9892

QQ咨询:1025174874

E-mail: info@361sale.com

Working hours: Monday to Friday, 9:30-18:30, holidays off

Customer Service
In order to facilitate global user registration and login, we have canceled the telephone login function. If you encounter login problems, please contact our customer service for assistance in binding your email address.