Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Make the WPUF Social Link position top. Before the login form.
- * http://prntscr.com/103zcrt
- */
- /*CSS Method*/
- #wpuf_social_link {
- position: absolute;
- top: 0;
- right: 0;
- }
- /*JS Method*/
- /**
- * Know more about JS prepend and append function
- * https://www.w3schools.com/jquery/html_append.asp
- * https://www.w3schools.com/jquery/html_prepend.asp
- **/
- jQuery(document).ready(function( $ ) {
- $("#wpuf_social_link").each(function() {
- $(this).parent().prepend(this);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement