Lightweight Scroll To Top Button

      No Comments on Lightweight Scroll To Top Button

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 

Lightweight Scroll To Top Button

 

 

Icon color:
Background color:
Hover icon color:
Hover background color:

 

 

 

.scroll-back-to-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    background-color: initial;
    color: initial;
    width: 50px;
    height: 48px;
    /* line-height: 48px; */
    right: 30px;
    bottom: 30px;
    /* padding-top: 2px; */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.scroll-back-to-top-wrapper:hover {
    background-color: initial;
    color: initial;
}

.scroll-back-to-top-wrapper.show {
    visibility: visible;
    cursor: pointer;
    opacity: 1.0;
}

.scroll-back-to-top-wrapper i.fa {
    line-height: inherit;
}

.scroll-back-to-top-wrapper .fa-lg {
    vertical-align: 0;
}

.scroll-back-to-top-wrapper {
    height: 100px !important;
    width: 100px !important;
}

.scroll-back-to-top-wrapper i.fa {
    padding: 10px 20px;
    line-height: 80px;
}

.scroll-back-to-top-wrapper i.fa {
    background-color: initial;
    /* border-radius: 0%; */
    color: initial;
    padding: 9px 16px;
    margin-right: 10px;
}

.scroll-back-to-top-wrapper i.fa:hover {
    background-color: initial;
    color: initial;
}


 !important;color:$dicon_color !important;}
        #lightweight-scroll-to-top-button.scroll-back-to-top-wrapper:hover {background-color:{$dhover_background_color} !important;color:{$dhover_icon_color} !important;}";
        wp_add_inline_style( 'pro-style', $custom_css );
}


add_action( 'wp_enqueue_scripts', 'my_styles_method' );


// background-color: {$dbackground_color} !important;