-
AuthorPosts
-
March 24, 2015 at 11:00 am #416982
Hello,
on Enfold preview Topic i had seen a website with a other scroll down “Arrow” with text.
Can you please tell me, how we can make this also ?Dandy
March 24, 2015 at 4:23 pm #417143Hi Manuel!
Please add Fullscreen Slider element to your page and then check “Display a scroll down arrow” – http://i.imgur.com/1oXAOn2.png
Cheers!
YigitMarch 24, 2015 at 4:43 pm #417158Hi Yigit,
thx for your answer, but you understand me wrong :-) . I use a full slider with scroll down arrow.
This works, but i would change the arrow like the site which i had posted.
A text with “scroll down”, that hide when hover.
And a other “arrow” like a mouse.March 24, 2015 at 5:01 pm #417175Hi!
Please refer to this post to change scroll down icon – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
then please add following code to Functions.php file in Appearance > Editorfunction add_custom_text(){ ?> <script> jQuery(window).load(function(){ jQuery( "a.scroll-down-link" ).prepend( "<span class='scroll-down-text'>Scroll down</span>" ); }); </script> <?php } add_action('wp_footer', 'add_custom_text');
and following code to Quick CSS in Enfold theme options under General Styling tab
.scroll-down-text:hover { opacity: 1; } .scroll-down-text { opacity: 0; }
Cheers!
YigitMarch 24, 2015 at 5:36 pm #417206This reply has been marked as private.March 25, 2015 at 10:34 am #417647Hi!
You can remove the animation with this:
#top .scroll-down-link { -webkit-animation: none !important; animation: none !important; }
Best regards,
IsmaelMarch 25, 2015 at 11:00 am #417661Hello Ismael,
when i do this, than the text and the arrow button stops with animation.
But i will only stop animation for the text.March 25, 2015 at 4:33 pm #417877Hi!
Please remove the codes we posted and go to Enfold/config-templatebuilder/avia-shortcodes and open slideshow.php file and find
$html .= "<a href='#next-section' title='' class='scroll-down-link' ". av_icon_string( 'scrolldown' ). "></a>";
and change it to
$html .= "<span class='scroll-down-text'>Scroll down</span><a href='#next-section' title='' class='scroll-down-link' ". av_icon_string( 'scrolldown' ). "></a>";
then add following code to Quick CSS
span.scroll-down-text { height: 60px; width: 80px; margin: 0px 0 0 -40px; position: absolute; left: 50%; bottom: 0px; color: #FFF; text-align: center; font-size: 20px; z-index: 100; text-decoration: none; }
Regards,
YigitMarch 25, 2015 at 5:38 pm #417964Hello Yigit.
I had done all steps, but the Text is on the wrong place.
It is left on the begin of the Slider with white backgroundline- This reply was modified 9 years, 8 months ago by Dandy.
March 25, 2015 at 5:41 pm #417970Hi!
It seems like you have not added custom CSS code i posted in my previous post so text is appearing above slider.
Regards,
YigitMarch 25, 2015 at 5:44 pm #417976
i have add your code in quick css and it shows at the begin of the slider.
- This reply was modified 9 years, 8 months ago by Dandy.
March 25, 2015 at 5:44 pm #417977Hey!
Please create a temporary admin login and post it here privately so we can look into it
Regards,
YigitMarch 25, 2015 at 5:50 pm #417995This reply has been marked as private.March 25, 2015 at 6:03 pm #418017Hey!
Please review your website now. You had some lines with ### in your Quick CSS code, i removed them. Original content of Quick CSS can be found here if needed – http://pastebin.com/mfzD99Uv
Regards,
YigitMarch 25, 2015 at 6:06 pm #418020Hello Yigit,
i see now the text is on right position.
But now i can not push the Arrow that it scroll down.March 25, 2015 at 6:21 pm #418037Hey!
I have added following code to functions.php file
function add_custom_slider_text(){ ?> <script> jQuery(window).load(function(){ jQuery( "a.scroll-down-link" ).hover(function() { jQuery("span.scroll-down-text").toggle()}); }); </script> <?php } add_action('wp_footer', 'add_custom_slider_text');
Please review your website now
Regards,
YigitMarch 25, 2015 at 6:26 pm #418048Hello Yigit,
looks very nice now :-)I have two litte questions now. When there is a new update for Enfold. than it overwrites the edited slideshow.php
Is it possible to include this in my Child theme that i must not change this line after every Update?———————————————-
On other Topic i post that the scroll up button does not show on iphone.
You postet this code:@media only screen and (max-width: 767px) { .responsive #scroll-top-link { display: block!important; }}
But this does not work. Can u look why this is not show on iphone?
- This reply was modified 9 years, 8 months ago by Dandy.
March 25, 2015 at 6:36 pm #418060Hey!
1- Yes, please see – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
2- There was an extra ” ;} ” in your Quick CSS, i removed it and it seems to be working fine :)Regards,
YigitMarch 25, 2015 at 6:52 pm #418077This reply has been marked as private.March 25, 2015 at 7:04 pm #418085Hi!
Yes, you should create a new folder called ‘shortcodes’ inside wp-content/themes/enfold-child folder and copy modified slideshow.php file ( not only the line but the whole content of it ) and paste inside that ‘shortcodes’ folder
Regards,
YigitMarch 25, 2015 at 7:07 pm #418088This reply has been marked as private.March 25, 2015 at 7:11 pm #418091Hi!
If there happens to be any change on slideshow.php file, you can use a website like this one – https://www.diffchecker.com/ to check the differences and update the file then apply the changes once again. But files like slideshow.php will not be updated so often unless there are new features added to them.
Unfortunately, there is no other solution.Regards,
YigitMarch 25, 2015 at 7:18 pm #418095This reply has been marked as private.March 25, 2015 at 7:26 pm #418098 -
AuthorPosts
- The topic ‘Fullscreen Slider other Scroll down arrow’ is closed to new replies.