- This topic has 13 replies, 4 voices, and was last updated 3 years, 7 months ago by
David.
-
AuthorPosts
-
January 20, 2022 at 3:48 am #2087012
Sol
Hi There,
I hope you are well.
I have done some research and can’t seem to identify the issue. I was wondering if you would be able to help? The sticky menu on this website looks exactly as it should on Chrome, however, it isn’t displaying correctly on Safari. The alignment is off and the logo vanishes. The CSS that we are using is as follows:
@media(min-width: 769px) {
.inside-header>.site-branding,
.inside-header>.navigation-branding,
.inside-header>.site-logo,
.site-branding-container,
#site-navigation .navigation-branding .site-logo,
#sticky-navigation .navigation-branding {
position: absolute;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
}#site-navigation {
margin-left: unset !important;
display: flex;
}.site-header .main-navigation:not(#sticky-navigation) .inside-navigation {
margin: unset;
}#site-navigation,
#primary-menu,
.main-navigation .inside-navigation {
flex: 1;
}/* Change nth-child(#) to first item to right */
.main-navigation ul li:nth-child(3) {
margin-left: auto;
}
}
@media (min-width:769px) {
.main-navigation .main-nav ul li.nav-button a {
background-color: #ffff;
border: 2px solid #15AA6F;
color: #000000;
line-height: 35px; /*this number will likely need to be adjusted*/
}
}
h1, h2, h3 {
text-align: center;
}Do you know how we could resolve this?
I am looking forward to hearing from you. Thank you so much in advance.
January 20, 2022 at 10:19 am #2087674Ying
StaffCustomer SupportHi there,
Can you link us to the site in question?
January 21, 2022 at 1:50 am #2088281Sol
Hi there,
I did link it in the text above but you can find the website here.
January 21, 2022 at 4:55 am #2088426David
StaffCustomer SupportHi there,
Should the site header and the sticky navigation look identical?
If so it will require a little reworking. If you’re ok with that then:
1. Remove any CSS you have for the Center Logo… see note below*
2. Enable the Navigation as Header option in Customizer > Layout > Header.
3. In Customizer > Layout > Primary Navigation set the Nav and inner width to suit and increase the Menu Item Height to increase the height of navigation to match
4. Remove the logo you have in Customizer > Layout > Sticky NavigationAt that point you should have a default looking nav with logo to left and menu right, and the same for Sticky nav.
Once where there this *CSS should be used to center the logo:
https://docs.generatepress.com/article/centering-logo-navigation/
January 24, 2022 at 9:34 am #2092064Sol
Hi There,
Thank you so much for getting back to me.
I would like the sticky navigation to look different from the primary navigation. However, I would like the sticky navigation to look the same on Safari and Chrome. Currently, it looks exactly as we would like on Chrome but then it looks different on Safari.
I look forward to hearing from you.
January 24, 2022 at 9:38 am #2092067David
StaffCustomer SupportI see no difference between the two browsers – see screenshot:
https://www.screencast.com/t/hfgWaCdLkszT
Safari above
Chrome belowWhat do you see ?
January 25, 2022 at 9:48 am #2093370Sol
Hi There,
Thank you so much for getting back to me. I have attached a screenshot to show you what we are seeing. I look forward to hearing from you.
January 25, 2022 at 8:29 pm #2093816Fernando Customer Support
Hi Sol,
Upon viewing the link you provided on Safari from my end, similar to David, I found the sticky navigation there looked the same as the one in Google Chrome.
Kindly view this for reference: https://share.getcloudapp.com/NQux72An
Also see: https://share.getcloudapp.com/DOum65L8
With that said, could you try clearing your Safari’s cache so we could rule out caching as a potential cause for this issue? Could you also try viewing the website from a different device?
January 28, 2022 at 5:54 am #2096989Sol
Hi there,
Thank you so much for getting back to me.
I have cleared my cache and then updated the design to look the same as the screenshot attached. However, when I open the page in another browser or clear my cache again, it reverts back to the design that you are seeing. Please can you help? I would like the design to look like the image below on all browsers:
Thank you so much in advance.
January 28, 2022 at 7:09 am #2097078David
StaffCustomer SupportDo you have any cache plugins installed on the site ? If so can you disable them.
January 31, 2022 at 8:00 am #2100235Sol
Hi There,
Thank you for getting back to me. I have cleared the internal cache and the website is now displaying correctly on Chrome and incorrectly on Safari again.
Please let me know how I should proceed?
January 31, 2022 at 8:51 am #2100278David
StaffCustomer SupportHave you cleared your browser caches?
As this is how it looks now on my Safari:February 3, 2022 at 6:57 am #2103864Sol
Hi David,
We have cleared our cache and it looks like this on chrome:
And this on Safari:
Thank you so much in advance.
February 3, 2022 at 7:19 am #2103883David
StaffCustomer SupportYou have an optimization Plugin enabled now which is removing CSS or changing its order.
Disable that plugin, clear the browser caches and recheck the site. -
AuthorPosts
- You must be logged in to reply to this topic.