- This topic has 1 reply, 2 voices, and was last updated 2 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › “Hide adminbar” needs to also set –wp-admin–admin-bar–position-offset to 0
When having a sticky header, it gets the following css:
top: calc(0px + var(–wp-admin–admin-bar–position-offset, 0px));
This is to compensate for the admin toolbar at the top. However, turning on the “Hide adminbar” option in Simple Membership seems to only do something like “display: none”, while the variable remains something like 32px (depending on screen width). This creates an open space above the sticky header.
So I _think_ the solution would be to have “Hide adminbar” (etc.) also set this variable to 0 – but I might be mistaken!
-Erlend
What theme are you using?
Please follow this checklist, to ensure the issue isn’t with the theme you’re using.
https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/