This topic has 18 replies, 3 voices, and was last updated 8 months, 1 weeks ago ago by Andrew Mitchell
.
Dear Ajaz,
We would like to suggest an alternative solution which involves disabling the sticky header, as it currently overlaps with the accordion headlines.
Best regards,
The 8Theme Team
Hi Luca,
The sticky header must remain untouched, we worked hard to get the correct settings for the sticky header, which is perfect.
This must be achievable with the sticky header functionality enabled because it is visible on multiple sites. The example provided previously shows this is possible.
The example is in the private content area.
Thanks.
Hi @Ajaz,
Please add the menu anchor elements in your section, then add the following CSS codes:
body:not(.elementor-editor-active) .elementor-menu-anchor:before {
content: "";
display:block;
height: 77px; /* fixed header height*/
margin: -77px 0 0; /* negative fixed header height */
visibility: hidden;
pointer-events: none;
}
For more information, please take a look at this: https://element.how/elementor-menu-anchor/.
Hope it helps!
Hi Luca,
I don’t understand what you mean by:
add the menu anchor elements in your section?
When I created the anchors originally, there was a technical issue where the anchors were not linking even though I added them correctly. Your colleague investigated and created the anchors for me so I am not sure how to add them to the menu anchor.
I have added the code to the theme custom CSS but nothing has changed.
Hi @Ajaz,
We meant your containers NOT sections. Sorry abou this.
Please take a look at my screenshot: https://prnt.sc/_VDkzVH7oC_f
Best regards,
The 8Theme Team
.
Hi @Ajaz,
I am confused, I have added the anchor title name for each accordion element in the container of the elements > layout > CSS ID but where do I enter the CCS Code?
All the custom CSS codes must be placed under Theme Options > Theme Custom CSS > Global CSS.
I have also left the accordion title anchors as they originally were, do they need to be removed? image attached to show the options I have updated in blue lines.
Please remove the CSS ID of each container and add to the Menu Anchor Element.
Best regards,
The 8Theme Team
Hi Luca,
I have removed the CCSS ID’s from all of the containers.
I am not sure what you mean by “add to the Menu Anchor Element”. Sorry, I am a little confused, are you saying to add the anchor titles to the menu on the top left, number 1/
The image is attached to show what I mean.
Thanks.
Hi @Ajaz,
We’ve checked your FAQs page and couldn’t find any Menu Anchor Elements in your page.
Please read this artcile carefully and add the Menu Anchor Elements again: https://element.how/elementor-menu-anchor/
Each container would have one Menu Anchor Element:
Best regards,
The 8Theme Team
I have added anchor menus in the containers as your image shows.
In the “ID of menu anchor” option, I have entered the menu titles e.g. #shipping, #payments, #orders, etc but this does not work?
The alignment has also been lost.
Hi @Ajaz,
You just need to enter: shipping, payments, #=orders and remove the # character.
Best regards,
The 8Theme Team
Hi Luca,
This is what I did the first time around, nothing worked and then I added #. I have deleted # and nothing still works.
What should be happening is, that when you click on any of the 4 menu options on the top left e.g shipping, orders, payments, or general/miscellaneous, the accordion should move towards the top of the page and aligned to the menu on the left, but this not working now.
And the gaps between each accordion must be less than it currently is.
Thanks.
Hi @Ajaz,
Please double check everything carefully before reply the topics.
We’ve checked your FAQs page and we could see that links in your menu items element are different than the ID of Menu Anchor. What you put:
– https://3k4.a5b.myftpupload.com/faq/#shipping and Shipping
– https://3k4.a5b.myftpupload.com/faq/#orders and Orders
– https://3k4.a5b.myftpupload.com/faq/#payments and Payments
– https://3k4.a5b.myftpupload.com/faq/#general and General/Miscellaneous
We’ve already corrected it to:
– https://3k4.a5b.myftpupload.com/faq/#shipping and shipping
– https://3k4.a5b.myftpupload.com/faq/#orders and orders
– https://3k4.a5b.myftpupload.com/faq/#payments and payments
– https://3k4.a5b.myftpupload.com/faq/#general and general
Now it’s working. Please check.
Thanks!
This is working.
I have aligned the top accordion with the menu on the left by adjusting the spacer height which is what I require however, when you click on any of the menus on the top left menu e.g. shipping, order, payment, etc, this takes the accordion to the top of the page which is above the menu on the top left (image attached).
The image attached shows an orange and red line. The orange line is where the accordion is currently set.
The red line shows where the accordion should move to and not above the top left menu.
How can this be set so that when you click on a menu from the top left, the accordion that scrolls up remains aligned with the top left menu?
Dear Ajaz,
We are writing to inquire about the image that was supposed to be attached to our previous correspondence. It appears that the attachment may have been omitted. Could you please check and resend the image at your earliest convenience?
Additionally, we would like to provide some guidance on adjusting the custom CSS for your project. Please find the current CSS code below:
body:not(.elementor-editor-active) .elementor-menu-anchor:before {
content: "";
display: block;
height: 77px; /* fixed header height */
margin: -77px 0 0; /* negative fixed header height */
visibility: hidden;
pointer-events: none;
}
To better suit your needs, you may want to consider decreasing the value of 77px
to the desired height. This adjustment should help achieve the intended visual effect on your website.
Should you require any further assistance or have additional questions, please do not hesitate to reach out.
Thank you for your attention to these matters. We look forward to your prompt response.
Warm regards,
8Theme Team.
I will leave this as it is. It is complicated to get a simple step applied.
Thanks.
Dear Ajaz,
In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?
Click here to share your thoughts: https://themeforest.net/downloads
Being part of our community means a lot, and your feedback contributes immensely.
Best Regards,
The 8Theme Team
The issue related to '‘FAQ Page – Accordian Element Gaps are too far apart’' has been successfully resolved, and the topic is now closed for further responses