Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #569946

    Hi there,

    is it possible to add a button/icon with a link and description, for example on the left side of the screen, which is fixed and always stays there. Even if I scroll down? … or some solution like this?

    I think it is also called “floating button” …

    Thanks a lot
    gg

    #569963

    Hi there,

    short update. I found someting …
    https://kriesi.at/support/topic/floating-button/

    looks I have the half way. Still two problems
    1) The button still disappears behind images and the font of the homepage.
    2) the button always starts at the top of the page and not at the color section where i put it in.

    Thanks a lot!!
    gg

    Hey there,
    update again!
    1) solved. I found it there

    2) still open!

    Thanks!
    gg

    #570252

    Pls find the link here…

    #570942

    Anybody? :)

    #571985

    Hey!

    Sorry for the late reply. When you reply your own ticket it pushes the ticket to bottom of the queue but we usually get back to you with a day from Monday – Friday. We are currently working on your ticket and will update the results here soon.

    The button currently is transparent and the images and text is visible thru it. Removing the transparency will solve this issue.
    Please add the below css in Enfold > General Styling > Quick CSS

    
    #beta .avia-button-center {
        opacity: 1!important; 
    }
    

    Regards,
    Vinay

    • This reply was modified 8 years, 11 months ago by Vinay. Reason: vinay
    #572182

    Hi Vinay,

    sorry, I didnt know that. Thanks!

    No, thats not my problem. The transparency is fine. Is it possible, that the button appears at a designated point? Or is that impossible and it always starts at the top of the page??

    At this link a guy ased for the same and on his website the button appears on a designated point. I want to do it like this …
    https://kriesi.at/support/topic/floating-button/

    Thanks so much!
    gg

    #572946

    Hey!

    You will need a bit of js to accomplish what you are looking for.

    Please goto Appearance > Editor > functions.php

    Add the following code at the bottom

    
    // reveal on scroll
    function reveal-onscroll(){
    ?>
    <script>
    
           $(document).scroll(function() {
          var y = $(this).scrollTop(),
              revealOnScroll = $('.reveal-onscroll');
          if (y > 600) {
            revealOnScroll.fadeIn(1000);
          } else {
            revealOnScroll.fadeOut(1000);
          }
        });
    
    </script>
    <?php
    }
    add_action('wp_head', 'reveal-onscroll');
    

    The above code make the button visible after user scroll 600px. adjust this number as you like.

    Then add class “reveal-onscroll” to your current button

    
    Example :  <a  class "reveal-onscroll button-styles" href="#"> Button </a>
    

    Cheers!
    Vinay

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.