Skip to content

Instantly share code, notes, and snippets.

@askwpgirl
Last active October 1, 2023 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save askwpgirl/09111ef3a3603afaac29c51b026bd50f to your computer and use it in GitHub Desktop.
Save askwpgirl/09111ef3a3603afaac29c51b026bd50f to your computer and use it in GitHub Desktop.
Elementor - underline hyperlinks in body text
/* Ideally, you will want to have hyperlinks underlined in body copy but remove the underline
on hover to indicate something has changed.
*/
.site-content .elementor-widget-text-editor a,
.elementor-widget-theme-post-content a {
border-bottom: 1px solid #333333; /* change color as desired */
}
.site-content .elementor-widget-text-editor a:hover,
.elementor-widget-theme-post-content a:hover {
border-bottom: none;
}
.elementor-grid-item .elementor-post__title a:hover {
text-decoration: underline;
}
@askwpgirl
Copy link
Author

Added underline for post grids title hover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment