- This topic has 26 replies, 4 voices, and was last updated 1 year ago by
Fernando.
-
AuthorPosts
-
August 2, 2022 at 10:26 am #2301051
Antonio
Hello,
button to open the offcanvas panel is not showing up on the site (still, I can see the id=”generate-slideout-menu” element in the html code).The site is actually running on a local machine. Please let me know how to get support on this.
Thank you
August 2, 2022 at 10:33 am #2301065Leo
StaffCustomer SupportHi there,
We have not had any other reports on this so it’s not possible to debug without seeing the issue live.
Have you tried #1 here?
https://docs.generatepress.com/article/debugging-tips/August 3, 2022 at 9:06 am #2302212Antonio
Hello,
I deactivated all plugins, except GP Premium, and enabled Debug.I get this error on frontend:
Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\grani\wp-includes\functions.wp-styles.php on line 90
And this error on backend:
null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\grani\wp-includes\formatting.php on line 2772
Active theme is GeneratePress Child (the one available on your website).
WP version is 6.0.1. PHP Version: 8.1.6
Thank you
August 3, 2022 at 10:12 am #2302281Leo
StaffCustomer SupportDoes the issue occur if you activate the parent theme?
August 3, 2022 at 10:49 am #2302313Antonio
Yes, same both on frontend and backend.
Thank youAugust 3, 2022 at 10:54 am #2302318Leo
StaffCustomer SupportAre you able to start a staging site for us to take a look from the backend?
We have not had any other reports on this and are unable to replicate the issue.
Thanks!
August 3, 2022 at 11:06 am #2302333Antonio
Unfortunately I don’t have an hosting for the moment. I can send you a backup of the site.
Let me know.August 3, 2022 at 11:14 am #2302345Leo
StaffCustomer SupportCan we revisit the issue once you have a hosting set up?
Thanks.
August 3, 2022 at 11:18 am #2302351Antonio
Ok, let’s try.
August 31, 2022 at 9:41 am #2329722Antonio
Hello,
site is online now.Please check.
Thank youAugust 31, 2022 at 9:56 am #2329742Leo
StaffCustomer SupportCan you disable this element for now?
https://www.screencast.com/t/qPcwROwOAugust 31, 2022 at 10:07 am #2329755Antonio
Done. I can see the menu button now.
But still I need to keep that element. What do you suggest to do?
Thank youAugust 31, 2022 at 12:25 pm #2329825Leo
StaffCustomer SupportWhat is the desired header layout you are trying to achieve?
Do you want the primary navigation showing?
Using the Site Header element replaces the entire site header which is currently where the navigation is located.
September 1, 2022 at 1:41 am #2330201Antonio
Hello,
I want to open the full screen menu when clicking on the symbol indicated here: https://prnt.sc/67o2q3XgoTo_Thank you
September 1, 2022 at 1:55 am #2330215Fernando Customer Support
Hi Antonio,
Activate the Off canvas menu on Mobile.
Then, add this snippet:
add_filter( 'generate_svg_icon', function( $output, $icon ) { if ( 'menu-bars' === $icon ) { $svg = 'add your <svg>...</svg> here'; return sprintf( '<span class="gp-icon %1$s"> %2$s </span>', $icon, $svg ); } return $output; }, 15, 2 );
Adding PHP reference: https://docs.generatepress.com/article/adding-php/#code-snippets
Replace
add your <svg>...</svg> here
with your SVG code. -
AuthorPosts
- You must be logged in to reply to this topic.