Skip to content

Instantly share code, notes, and snippets.

@askwpgirl
Created September 28, 2023 23:49
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/282be575f01eaa89ecf02a763aa69f1b to your computer and use it in GitHub Desktop.
Save askwpgirl/282be575f01eaa89ecf02a763aa69f1b to your computer and use it in GitHub Desktop.
New Window Warnings Plugin CSS Styling for Elementor
/* If you are using https://wordpress.org/plugins/accessibility-new-window-warnings/,
the external link icons can look funny or output on items you don't want them to.
The following CSS can be adjusted as needed to format or hide these new window icons.
*/
/* Hide external link icon on social media icons in Elementor */
.elementor-social-icon .anww-external-link-icon {
text-indent: -2000px;
width: 0;
height: 0;
}
/* Show external link icon inline with the Elementor button text */
.anww-external-link-icon,
.elementor-button-content-wrapper {
display: inline-block !important;
}
.anww-external-link-icon {
padding-left: 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment