Skip to content

Instantly share code, notes, and snippets.

@macariojames
Last active August 1, 2019 19:05
Show Gist options
  • Save macariojames/8dcf9559baa05dcfe0b57ceef7a9253c to your computer and use it in GitHub Desktop.
Save macariojames/8dcf9559baa05dcfe0b57ceef7a9253c to your computer and use it in GitHub Desktop.
Offset position of Userway.org widget
// So I needed to change the position of the floating widget on mobile for my site since
// I have a fixed footer navbar. After not seeing any controls in the .js file, figured i'd just override it
// via CSS. Here you go.
// (Yes, using '!important' is crappy, but it was necessary to get this done.) ~mj
@media screen and (max-width: 768px) {
body .userway.userway_p3 {
bottom: 65px!important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment