-
AuthorPosts
-
August 25, 2023 at 10:22 am #1417136
Hello! My last customization about the X button.
The X should be a BACK button and not should to refer to HOME. So it should refer where you was navigate before…..
Please check!August 25, 2023 at 1:20 pm #1417144I would change into a button like the arrow to scroll up but above and right position. That have to appear after scrolling down (100px or near) and must have the same characteristics of the arrow: transparency and blur but with the icon that I could change alone. (ONLY IN THAT PAGES) NB. It must be a BACK BUTTON.
Hope you understands!Thanks
August 25, 2023 at 5:03 pm #1417159look at my image example. Look at the icon on top and left. (BACK BUTTON)
September 4, 2023 at 4:43 pm #1418077Hi,
You can add a header widget area by referring to this post https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area, place a Custom HTML widget inside it, and add your custom button to it using HTML.
Unfortunately, such customization would be out of the scope of our support so we cannot help you with that.
Regards,
YigitSeptember 4, 2023 at 6:29 pm #1418098Is it possible to have a BACK button in the boats page only?
September 5, 2023 at 9:20 pm #1418200Hello! Are you there?
I want a simple back button that appear when scroll down. A floating icon to come back. Stop.
Is this difficult?!?September 6, 2023 at 11:16 am #1418254Hi,
Please add the following to the bottom of Functions.php file of your child theme ( https://kriesi.at/documentation/enfold/child-theme/ ) or as a new snippet using the Code Snippets ( https://wordpress.org/plugins/code-snippets/ ) plugin:
add_action('ava_after_main_container', 'new_ava_after_main_container'); function new_ava_after_main_container(){ if(is_page(8779)){ echo '<div class="custom-back-button"><span class="av_font_icon av-lm7ig98k-65ba33b015b6384fd3901ea03a4bd5d6 avia_animate_when_visible av-icon-style- avia-icon-pos-left av-no-color avia-icon-animate avia_start_animation avia_start_delayed_animation"><a href="LINK_TO_YOUR_HOMEPAGE" class="av-icon-char" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></a></span></div>'; } }
You can use the “is_page” condition to target your Boats page. The “8779” is ID of the page you shared in your initial post. If you want to display the button on another page, you’ll need to update the “8779” in the code.
Then, you’ll need to update the “LINK_TO_YOUR_HOMEPAGE” in the snippet to the link of your homepage.
After that, add the following code to the bottom of the Quick CSS field in Enfold theme options > General Styling
.custom-back-button { position: fixed; top: 50px; left: 20px; z-index: 99; background-color: #1a1a1a; opacity: 0.7; padding: 90px 30px 40px 30px; } .custom-back-button .av_font_icon { font-size: 80px; margin: 0; }
You’ll need to use jQuery to hide/display the button when scroll down/up.
We cannot help you fine-tune this. If you need further assistance, please consider to hire a freelance developer for the task.
Best regards,
YigitSeptember 6, 2023 at 12:13 pm #1418265Please check! Doesn’t work well. Check. Thanks.
September 6, 2023 at 12:19 pm #1418267Maybe you don’t understand me.
Open the page (Venticinque for example), no button is shown. Scroll down, the arrow to go back up is shown. So, together have to be shown the ICON to go HOME.
That button have to be like the arrow but with taht icon inside the black and transparent square.September 7, 2023 at 3:27 pm #1418365Hello
September 9, 2023 at 7:43 pm #1418571Hi,
Please try Yigit’s suggestion, please note that he said: We cannot help you fine-tune this. If you need further assistance, please consider to hire a freelance developer for the task.Best regards,
Mike -
AuthorPosts
- The topic ‘Customization X button’ is closed to new replies.