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

Codeless Silder Anchor Button

    • 9 years ago visocon
      Participant

      Expired

      Hello,

      I wanted to ask if it’s possible set the button link in the codeless slider to an anchor (just #id) and scroll down on the same page to the sector with that id. That should be easy right? Isn’t this what most sites do? Or do I have to use another slider? Can you please tell me how I can get this going?

      Thanks

      br

    • 9 years ago Mirela
      Participant

      Hello,

      Yes, you can do this by setting the id as link in the Codeless Slide Options > Content > Button Link (screenshot). Just like you do with the one page configuration.
      Make sure to set the same id as the link at the page’s row settings too (the section you want to link it to).

      To avoid the “open in new tab feature” of slider button, go to file \includes\codeless-slider\codeless_slider.php and find these lines:

      if(!empty($cl_redata['slide_button1']))
          $output .= '<a class="btn-bt '.esc_attr($cl_redata['overall_button_style'][0]).' '.esc_attr($cl_redata['slide_button1_style']).'" target="_blank" href="'.esc_url($cl_redata['slide_button1_link']).'"><span>'.$cl_redata['slide_button1'].'</span><i class="moon-arrow-right-5"></i></a>';
      if(!empty($cl_redata['slide_button2']))
          $output .= '<a class="btn-bt '.esc_attr($cl_redata['overall_button_style'][0]).' '.esc_attr($cl_redata['slide_button2_style']).'" target="_blank" href="'.esc_url($cl_redata['slide_button2_link']).'"><span>'.$cl_redata['slide_button2'].'</span><i class="moon-arrow-right-5"></i></a>';
      

      Remove target="_blank" from it and save.

      Best regards!

    • 9 years ago visocon
      Participant

      Expired

      Hello,

      thanks for the quick response.

      Actually I did it that way but when I click on the button – it stays the same (only the URL changes)

      Also on other pages I need the open in new tab function.

       

      br

    • 9 years ago Mirela
      Participant

      Hello,

      Did you set the id at the row settings? It will work only if set there, not in any other vc element.
      Sorry but it’s not possible to have the button open in the same page in some pages and in new tab at others.
      Let us know.

      Best regards!

    • 9 years ago visocon
      Participant

      Expired

      Yes I set it under Row Settings – Row ID – integrations (id name)

      and in the slider settings – Button Link – #integrations

      But it does nothing.

       

      br

    • 9 years ago Mirela
      Participant

      Hello,

      This is strange. We created the same situation on our side and it does work well. perhaps you forgot something. Please Please fill in the wp information on your extra information fields of your profile data. So we can give it a closer look.

      Read this article for more information.

      Best regards!

Viewing 5 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