- This topic has 13 replies, 3 voices, and was last updated 3 years, 11 months ago by
Tom.
-
AuthorPosts
-
March 14, 2017 at 12:07 am #291091
Jessica
I have purchased the GP Premium and have had all the disable options working up until I purchased an SSL certificate. Since changing to HTTPS, disable header no longer works. I have tried creating a new page and testing it there and it still doesn’t work. The other disable functions seem to work but not Header.
GeneratePress 1.3.44GP Premium 1.2.94March 14, 2017 at 10:13 am #291275Tom
Lead DeveloperLead DeveloperHi there,
Any chance you can link me to the page that’s not working?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 14, 2017 at 6:16 pm #291627Jessica
Oh yes of course!
thetitfairy.comMarch 14, 2017 at 6:48 pm #291633Leo
StaffCustomer SupportHi Jessica,
Not sure which part you are trying to disable?
Looks like the entire site, including the header, are inserted by BB.
Let us know.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 14, 2017 at 7:08 pm #291641Jessica
Yes but I should be able to disable the header from appearing on certain pages with your disable function. It has worked on lulu.thetitfairy.com but why not on thetitfairy.com
I am using BB to build the site but your theme for certain functions eg. disable.March 14, 2017 at 7:09 pm #291642Tom
Lead DeveloperLead DeveloperYour site needs to use the GP header in order for the disable elements option to work, as it only knows to look for GP elements.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 14, 2017 at 7:11 pm #291643Jessica
Well why does it work literally everywhere else on my site? It has worked this entire time until I added the SSL certificate. Previously I used a code to remove it but that has also stopped working.
March 14, 2017 at 7:12 pm #291644Tom
Lead DeveloperLead DeveloperThe areas where it’s working are most likely still using GP functionality.
In this case, you’ve replaced the GP header with a custom BB element, so the disable elements option doesn’t find the GP element and can’t remove it.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 14, 2017 at 7:14 pm #291647Jessica
It must be working as it removes the footer which is also BB but anything I use to remove the header does not work on this site anymore.
March 14, 2017 at 7:15 pm #291648Jessica
The other areas are a copy of thetitfairy.com so it’s made the exact same way. That is not the issue here.
March 14, 2017 at 7:16 pm #291649Tom
Lead DeveloperLead DeveloperThe footer has the correct class for disable elements to work: site-footer
The header is missing the class that disable elements is looking for: site-header
However, in the version of GP Premium that was just released, it no longer uses these classes and directly removes the HTML from the page.
Depending on how you’ve added the header, that might fix this issue.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 14, 2017 at 7:23 pm #291652Jessica
I’ve added the header the exact same way I’ve added the footer. I used the BB Header Footer plugin.
I’ll try updating GP.March 14, 2017 at 7:27 pm #291653Jessica
Turns out I already have the latest version. I assume that’s why it works for everything else. I think there is just an issue with this sites header. I will try deleting the site and uploading a copy of it.
March 14, 2017 at 7:35 pm #291657Tom
Lead DeveloperLead DeveloperFrom what I saw, the header was missing that important site-header class.
Not sure why that would happen – let me know if re-uploading fixes it 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.