Button gets pushed to top when opening the dropdown.
-
Hi, I created a add to calendar button for events that I created with the ‘ACPT’ plugin. I styled the button with custom CSS using the ‘parts’ attribute as shown in the documentation. Everything is working fine with a little issue I am facing.
When I click on the button to access the dropdown, the button gets pushed up. This also happens when I set the trigger to ‘hover’. It was doing this even before I styled it with custom CSS, so I know it is not a styling issue.
I noticed using the chrome dev tools that when the button is clicked, a div element with id ‘atcb-bgoverlay’ appears that seems to push the button up:
Plus, this element also creates horizontal and vertical overflow.
Upon inspecting the add to calendar buttons in the documentation on the plugin’s website, I found out that this element is actually supposed to be positioned at the top-left corner of the screen. However, in my case, it is being positioned at the top-left corner of the drop down, which is causing all the issues. I cannot use CSS to fix that as the element doesn’t have a part attribute.
Please let me know how to fix this. Thanks
- This topic was modified 5 months, 3 weeks ago by . Reason: Images didn't render, so tried a different method of uploading them
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.