Anchors offset, smooth scroll and accordions title
Hi,
I built a FAQ page using several accordions and I added ID to each one to use it as anchors, but I have 3 questions:
1) How could I add offset to those anchors to make it work with sticky menu?
2) Which is the best way to add smooth scroll animation (working on every browsers) ?
3) Accordions title are included in h4 tags. How could I change this to h2 tags?
Thanks a lot!
Comments
Hi,
1) There is no setting to enable/add an offset. I can only suggest adding top padding as a workaround, which would imitate it.
2) You need to add a scroll class to the element with the link.
3) There is no setting to change the Accordion tag. You can only change its typography in the style tab.
Thanks
Hi,
Thanks for your reply!
2) So my links are in my page sidebar. I tried to add a "scroll" class to my widget blocks in the widget tab or to my accordions elements directly on my page, but nothing works...
3) I knew it was not possible to modify h4 tags directly on the BeTheme board, but my question is: what's the theme file I need to modify to change this parameter (h4 to h2 or anything else...)?
Thanks!
2) Please attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. Also, please make sure that the page is not under maintenance before you provide us with the link.
3) If you want to modify the files, the one responsible for it is in functions/theme-shortcodes.php.
Thanks
Hi,
Thanks for your answer!
2) How could I send you the link a private way?
3) Which lines do I need to modify?
Thanks a lot!
1) Please send this information privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact.
Notice!
Please attach a link to this forum discussion.
2) Sorry, but we do not help with the customization of the files. I can only tell you which file is responsible for a particular functionality.
Thanks
Hi,
I sent the information thru the contact form.
Thanks!
The scroll class should be added to the <a> tag.
"Screenshot removed on customer request"
Please head to the documentation:
https://support.muffingroup.com/faq/how-do-i-link-an-anchor-on-the-same-page/
You can check our video tutorial too:
https://www.youtube.com/watch?v=HoHZksjUrjg
Thanks