Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

On the file public_html/includes/template_bottom.php file

was added

<style type="text/css">#w2b-StoTop{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;width:100px;background-color:#EEE;background-color:rgba(238,238,238,.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#99EEEEEE', EndColorStr='#99EEEEEE');text-align:center;padding:5px;position:fixed;bottom:10px;right:10px;cursor:pointer;color:#444;text-decoration:none;border:1px solid #C9C9C9
</style>
<script type='text/javascript'>$(function(){$.fn.scrollToTop=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="0"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="0"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:0},"slow")})}});$(function(){$("#w2b-StoTop").scrollToTop()});</script>
<a href='#' id='w2b-StoTop' style='display:none;'>Return to Top </a>

after tap Return to Top it will show a Google picture at bottom of the mobile.

How to take out this picture?

Thank you,

Luiz

Capture _2019-03-20-13-39-30.png

Capture _2019-03-20-13-40-42.png

Link to comment
Share on other sites

Have a look in the addons area for 'back to top' or something similar as I think there was one done previously that may or may not work. Saying that anything done through the 28days will help move osc forward.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Make sure you have fontawesome loaded.

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">

 

 

Link to comment
Share on other sites

Hi Zahid,

In which program I have to add

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous"> 

this line.

Thank you,

Luiz

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...