Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DigitalEssence/c2bd60872e56c9d90de5 to your computer and use it in GitHub Desktop.
Save DigitalEssence/c2bd60872e56c9d90de5 to your computer and use it in GitHub Desktop.
WordPress - Enfold - CSS - Move scroll to top to the left
#scroll-top-link {right: auto !important; left: 50px;}
/*Replace with image */
a#scroll-top-link:before {
content: "";
}
a#scroll-top-link {
background-image: url(IMG_URL);
background-color: transparent;
border: none;
background-repeat: no-repeat;
}
#scroll-top-link:hover {
background-color: transparent;
color: none;
border: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment