Menu Anchor links Create WHITE SPACE!!
I am creating a one-pager website with anchor links in the menu to specific blocks.
I named the blocks and set it up in the menu section of the site.(#block-name) There are 2 issues here...
- It does not smooth scroll to that block...why?
- In a dark themed site when scrolling to a block, it leaves a nasty whitespace above that block...Why??
Can someone please help me with this?
-
I actually fixed that whitespace issue with the following css:
:target::before, .elementor-menu-anchor::before {
display: none !important;
}But this needs to be checked out please.
0 -
Hi Willem,
Thank you for updating us regarding these inconveniences. I checked the site and especially the menu and I found that it isn't created in Brizy builder, therefore the issue you reported may be related to the theme or page builder that generated the menu. It is added in the Brizy pages from the theme or another page builder. When I investigated the CSS you used for solving the problem, I didn't found there the Brizy classes but an Elementor class, therefore, the issue wasn't on Brizy's part.
Let us know if we can help you with something else.
Best regards,
Sandra0
Please sign in to leave a comment.
Comments
2 comments