-
AuthorPosts
-
June 6, 2018 at 3:36 pm #967905
Hi!
In my footer I have three columns. In my first column I’ve placed a button with the following code:
[av_button label='Maak een afspraak voor een gratis oriëntatiegesprek' link='http://shedoesitcoaching.com/contact/' link_target='' color='theme-color' custom_bg='#44444' custom_font='#ffffff' size='medium' position='left' icon_select='yes' icon='']
I would like to replace the ‘link’ to an anchor on my homepage (Tips).
How can I adjust the code of the button for this?Thanks in advance!
June 6, 2018 at 5:03 pm #967946Hey Eefke,
Thank you for contacting us.
Please update the footer link in the same format shown in the below example
www.yoursite.com/#anchor-link
If you have any issue please get back to us with the anchor link ID so we can help you better.
Best regards,
VinayJune 6, 2018 at 6:00 pm #967981This reply has been marked as private.June 7, 2018 at 4:35 am #968163Hi,
Your site is down at the moment. For step by step instructions to add anchor links please check the documentation https://kriesi.at/documentation/enfold/menu/#add-anchors-to-your-page-for-single-page-navigation
Best regards,
VinayJune 7, 2018 at 10:51 am #968498This reply has been marked as private.June 11, 2018 at 3:50 am #970924Hi,
Glad it worked. Please try to adjust the scroll offset value.
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1); function avf_header_setting_filter_mod($header) { $header['header_scroll_offset'] = $header['header_scroll_offset'] + 48; return $header; }
Adjust the value as needed.
Best regards,
IsmaelJune 11, 2018 at 1:10 pm #971139This reply has been marked as private.June 11, 2018 at 3:58 pm #971265Hi shedoesitcoaching,
Best regards,
VictoriaJune 12, 2018 at 1:33 pm #971664This reply has been marked as private.June 14, 2018 at 1:14 am #972558Hi,
Thanks for the update.
You can add the filter in the functions.php file. Use the current offset value and specify an additional scroll value.
$header['header_scroll_offset'] = $header['header_scroll_offset'] + 48;
In the code above, we added 48 pixels to the scroll offset. The login credentials are not valid. Please check it carefully.
Best regards,
IsmaelJune 14, 2018 at 1:19 am #972559Hi,
UPDATE: We managed to access the dashboard using the login credentials from the other thread but we can’t modify the files via the Appearance > Editor panel. Please provide the FTP login details along with the correct WP login credentials.
Best regards,
IsmaelJune 14, 2018 at 2:05 am #972568hello
how can i make a header in enfold theme like this website?
http://stabil.in/index.html
please help me
thanks
image
https://postimg.cc/image/6g1io9c5p/June 14, 2018 at 1:53 pm #972815This reply has been marked as private.June 18, 2018 at 3:43 am #974066Hi,
Thanks for the update. Please ask your hosting provider for the FTP details so that we can access the file server. It’s another credential given to you by the hosts or it be generated manually from inside the cpanel area.
Best regards,
IsmaelJune 18, 2018 at 1:05 pm #974227This reply has been marked as private.June 18, 2018 at 8:45 pm #974466This reply has been marked as private.June 19, 2018 at 1:38 am #974556Hi,
@shedoesitcoaching: The accessible directory is blank. Please configure the path so that it leads to the “/home/shedoe…c_html/eefke” directory.
@alexjoonam1971: Please create your own thread because your request is not relevant to the OP’s inquiry. Thank you.
Best regards,
IsmaelJune 19, 2018 at 1:49 am #974560can you send me the capture of screen photo because I don’t understand.
thankyou
Best regards
AlexJune 19, 2018 at 2:10 am #974565hi
- This reply was modified 6 years, 5 months ago by Victoria.
June 20, 2018 at 4:52 am #975072Hi,
@alexjoonam1971: I’m sorry. You have to create your own thread because your request is not relevant with the OP’s inquiry. This makes it confusing for other users who are searching for the same issue or request.
Best regards,
IsmaelJune 20, 2018 at 10:26 am #975188This reply has been marked as private.June 20, 2018 at 11:24 pm #975570Hi,
Thank you for the update.
I added the filter but it didn’t work then I noticed that you have these css codes inside the Quick CSS field. What is that for?
.home #header { position: fixed; } .home #main { padding-top: 180px; }
The scroll works properly when I remove the css code.
Best regards,
IsmaelJune 21, 2018 at 8:42 pm #975972This reply has been marked as private.June 22, 2018 at 6:55 am #976105Hi,
It’s possible. Enable the “Sticky Header” option and then use this script in the functions.php file to disable it on other pages.
function ava_custom_script_sticky_header() { ?> <script> (function($) { var home = $('body').is('.home'); if(!home) $('html').removeClass('html_header_sticky'); })(jQuery); </script> <?php } add_action( 'wp_footer', 'ava_custom_script_sticky_header', 9999 );
Best regards,
IsmaelJune 22, 2018 at 12:45 pm #976297This reply has been marked as private.June 25, 2018 at 12:01 am #977247Hi,
Awesome! -Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
Ismael -
AuthorPosts
- The topic ‘Link in footer to anchor’ is closed to new replies.