-
AuthorPosts
-
January 22, 2016 at 12:16 pm #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- This topic was modified 8 years, 11 months ago by greengraphicsvienna.
January 22, 2016 at 12:41 pm #569963Hi 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!!
ggHey there,
update again!
1) solved. I found it there2) still open!
Thanks!
gg- This reply was modified 8 years, 11 months ago by greengraphicsvienna.
January 22, 2016 at 6:00 pm #570252Pls find the link here…
January 24, 2016 at 10:53 pm #570942Anybody? :)
January 26, 2016 at 10:20 am #571985Hey!
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
January 26, 2016 at 4:01 pm #572182Hi 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!
ggJanuary 27, 2016 at 3:41 pm #572946Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.