Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Button to top

    • 7 years, 1 month ago webmedia
      Participant

      Expired

      Hello I see an option to show button to top and I check it but nothing happens.Idea?

    • 7 years, 1 month ago Medrit
      Participant

      Hello,

      Which button are you referring to? Please provide a screenshot so we can help you.

      Best regards!

    • 7 years, 1 month ago webmedia
      Participant

      Expired

      Hello here is the link of image:

      https://ibb.co/j7Ofyy

      So it don’t shows any button to top.

    • 7 years, 1 month ago Mirela
      Participant

      Hello,

      You’re right! Sorry for the inconvenience.
      Please add these lines at the end of file includes/codeless_hooks.php:

      // Wrapper -> After
      add_action( 'codeless_hook_wrapper_after', 'codeless_back_to_top_button' );
      //add_action( 'codeless_hook_wrapper_after', 'codeless_creative_search', 10 );

      Then add this lines in file functions.php:

      function codeless_back_to_top_button(){
          if( codeless_get_mod( 'back_to_top', false ) )
              echo '<a href="#" class="scrollToTop"><i class="cl-icon-chevron-up"></i></a>';
      }

      Refresh site, the bottom-to-top button should be visible.
      Let me know.

      Best regards!

    • 7 years, 1 month ago webmedia
      Participant

      Expired

      Hello, I put the first code in includes/codeless_hooks.php and the second in functions.php of the theme like you said but nothing.

    • 7 years, 1 month ago Mirela
      Participant

      Hello,

      Can you please add some sftp credentials to your profile extra fields? So i can check it and do this for you. These files can not be reloaded in the server without a secure connection that’s why a sftp account is needed.

      Read this article for more information.

      Best regards!

    • 7 years, 1 month ago webmedia
      Participant

      Expired

      Hello,

      The button to top was there when I put this code but it was left bottom and small so I didn’t saw it :)

      With css I could edit it more because its not so good looking.

    • 7 years, 1 month ago Mirela
      Participant

      Hello,

      Great! Let us know if you need further help.

      Best regards!

Viewing 7 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password