- This topic has 8 replies, 3 voices, and was last updated 5 years, 2 months ago by Tom.
-
AuthorPosts
-
January 7, 2019 at 10:21 am #775522Bernhard
I changed provider and went to siteground, activated their optimization tools and cloudflare.
Now the slideout menu shows in the bottom both desktop and mobile version and the css seems not to work anymore.
I controlled the site on the old server and there everything is ok.
The additional css used is:/* Blocksatz */ .entry-content p {text-align: justify;} /* Line break before title */ h1, h2, h3, h4, h5, h6 { clear: both} @media (max-width: 768px) { #right-sidebar { display: none; } } .generate-back-to-top, .generate-back-to-top:visited { border-radius: 25px; /* how round the button is */ line-height: 50px; /* how tall it is */ width: 50px; /* how wide it is */ } .generate-back-to-top { font-size: 30px; background: #931b31; color: #ffc233; } .generate-back-to-top:hover, .generate-back-to-top:focus { background: #F6B432; color: #FFFFFF; } .menu-item .dashicons { display: inline; font-size: inherit; line-height: inherit; padding-top: 2px; } .slideout-navigation .main-nav li { margin-bottom: 6px; } @media { .main-navigation .main-nav ul li a { border-bottom: rgba(349, 81, 57, 0.3) 1px solid; } } .main-navigation.offside { width: 200px; } .slideout-overlay { background-color: rgba(349, 81, 57, 0.2); } @media (max-width: 768px) { .main-navigation .main-nav ul ul li a { padding-left: 30px; } }
Have you experience with this problem, any suggestion how to trigger the cache?
Thank you for your help.January 7, 2019 at 3:57 pm #775732TomLead DeveloperLead DeveloperHi there,
The issue here is something is moving your javascript files above the slideout navigation element.
It’s strange, because the slideout navigation is set to show up in
wp_footer
with0
as the priority, meaning nothing should be above it.If there isn’t a way to keep the scripts where they should be with your configuration, you can try this workaround:
remove_action( 'wp_footer', 'generate_slideout_navigation', 0 ); add_action( 'generate_after_footer', 'generate_slideout_navigation' );
Adding PHP: https://docs.generatepress.com/article/adding-php/
January 8, 2019 at 7:16 am #776367BernhardHi Tom,
I disabled Cloudflare and Supercacher by Siteground and substituted with WP Fastest Cache which I used already before.
This seems to solve the problem.
Now I’m trying to enable Cloudflare again changing my DNS to Cloudflare.
To be sure, can you please check at your end within some hours if the menu shows up in the correct way.
Thank you
BernhardJanuary 8, 2019 at 9:03 am #776470TomLead DeveloperLead DeveloperLooks good to me now π
January 8, 2019 at 9:07 am #776475Bernhardπ
February 1, 2019 at 2:23 pm #799104yuriyHello again! After updating the theme again, this problem, Tom tell me exactly where to insert additional code in a file and a place not to go to a freelancer, and do it yourself. Because after the next update is likely to come out again mobile menu at the bottom of the page and will not be displayed on the mobile.
February 1, 2019 at 4:30 pm #799171TomLead DeveloperLead DeveloperHi there,
Have you tried this code?: https://generatepress.com/forums/topic/slideout-menu-on-bottom/#post-775732
It can be added using one of these methods: https://docs.generatepress.com/article/adding-php/
February 1, 2019 at 8:54 pm #799272yuriyThanks, it worked out…
February 2, 2019 at 8:07 am #799635TomLead DeveloperLead DeveloperYou’re welcome π
-
AuthorPosts
- You must be logged in to reply to this topic.