I have a pop-up on this page when you click on 'Reviews'. In side this pop-up I have a row with a left column - I made it sticky. After I made it sticky a lot of white space appeared at the top, see attached screenshot.
Also, I had a border on the right which disappeared after I made the column sticky.
Would it be possible to make the white space go away and get my border back?
We took a look at the page and there isn't any code that is causing the white space at the top or right border to disappear. Might just be a structural thing.
Can we have the screenshot so that we can compare and try to get it to where it was.
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
@media only screen and (min-width: 1000px) {
.nectar-sticky-column-css.vc_column_container > .n-sticky > .vc_column-inner {
transform: translateY(-50px);
}
}
Quick update from my side. I thought it showed well, and it does..on Chrome. On Safari it's different. See the two screenshots attached. Can we do anything about this?
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks! Only now there is more white space at the top on Chrome browser. Would there be a way to make it -80px only on chrome and -50px on other browsers?
Thanks again. There is still a difference between Safari and Chrome, see attached screenshots. There is too much space in Chrome and too less in Safari.
And a second problem occurred to me in Safari. When you scroll there is some transparent affect initiated at the top. See third screenshot.
I can confirm this happens without being logged in as an admin. Would you like me to send a screen recording? It happens only when you scroll up again and it's at the top and you want to scroll further up.
Pls let me know If I can do anything to help with this.
It sounds like you might be referring to the over-scroll or "scroll bounce" effect, which is a native feature of Safari on scrollable elements that can't be disabled with CSS alone, unfortunately. The sticky column can be contained to the same level as the right-hand chat window by adding the following CSS snippet though:
Hey Tes, yes that's the "overscroll" effect. If you'd like to make the effect more seamless with your design, the "reviews" toolbar would need to be moved into the scrollable area instead of sitting above it so that when the overscroll occurs, the bar moves along with the scrollable area.
HI, thanks. I understand. It is correct that this overscroll effect is only visible in Safari, and not in Chrome, yes?
I do have one other issue. In safari that same pop-up has less white space at the top of the left sticky column compared to the same one in chrome. I've attached both screenshots.
Is there a fix for this? I got this css from you guys:
Hey Tes, the overscroll should be visible in both on the body (on Mac OS when using a trackpad), but it looks like Safari also enables it for child divs set to overflow: scroll.
I'm not able to see that spacing difference between Safari/Chrome on my end yet. Can you also verify that it's unrelated to being logged in with the admin toolbar?
Hi there,
I have a pop-up on this page when you click on 'Reviews'. In side this pop-up I have a row with a left column - I made it sticky. After I made it sticky a lot of white space appeared at the top, see attached screenshot.
Also, I had a border on the right which disappeared after I made the column sticky.
Would it be possible to make the white space go away and get my border back?
Thanks in advance.
best regards,
Tes
Hi Tes,
We took a look at the page and there isn't any code that is causing the white space at the top or right border to disappear. Might just be a structural thing.
Can we have the screenshot so that we can compare and try to get it to where it was.
Thanks.
Sure! Hereby I send you the screenshot.
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Hi Tahir,
Quick update from my side. I thought it showed well, and it does..on Chrome. On Safari it's different. See the two screenshots attached. Can we do anything about this?
Thanks in advance.
The attachments..
Hello Tes,
Please try this css:
Thanks.
Hi Judith,
If I do that, it will show a lot of white space on all my columns, see attached.
The code from Tahir works fine on Chrome, but we only need a solution for safari and firefox. Would that be possible? Thanks.
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Hey Tahir,
Thanks! Only now there is more white space at the top on Chrome browser. Would there be a way to make it -80px only on chrome and -50px on other browsers?
This should likely have to be changed
Thanks
ThemeNectar Support Team
Hi Tahir,
Yes, I thought so too, but it changes it on Safari and firefox as well. Or should I add 'important' after the other lines?
This should help: https://stackoverflow.com/questions/9328832/how-to-apply-specific-css-rules-to-chrome-only.
Thanks
ThemeNectar Support Team
Hi Tahir,
Thanks. Could you help me by how to apply to it the translateY css? I can't seem to understand it.
Hey Again,
Sorry for the late turn around, we can get overwhelmed sometimes by the number of tickets.
Try using this CSS instead:
Best
ThemeNectar Support Team
Also remove the one provided earlier.
Thanks
ThemeNectar Support Team
Hi Tahir,
Thanks again. There is still a difference between Safari and Chrome, see attached screenshots. There is too much space in Chrome and too less in Safari.
And a second problem occurred to me in Safari. When you scroll there is some transparent affect initiated at the top. See third screenshot.
Can we solve those problems?
Thanks in advance.
Best regards,
Tes
Update: my cache wasn't activated so it showed old page. The first problem is solved, thanks.
The second problem is still active, you view it on safari.
Hey Again,
Could you confirm both resolutions on Chrome and Safari are the same as i doubt this is due to the varying screen size and not browser specific.
Thanks
ThemeNectar Support Team
Hi Tahir,
Yes, I just checked it again to be sure. In safari it shows the 'problem' but not in Chrome. I checked it with the same resolutions (same laptop).
Escalating this to the developer for actual device testing.
Thanks
ThemeNectar Support Team
Hey Tes,
I haven't been able to see that Safari-specific issue yet on my end after testing on two different versions of the browser: https://www.dropbox.com/s/16s7yunrn8zuv2i/Screen%20Recording%202022-06-08%20at%2011.56.07%20AM.mov?dl=0
Can you verify that it's not related to being logged in as an admin?
Kind regards,
Thanks for taking a look at this.
I can confirm this happens without being logged in as an admin. Would you like me to send a screen recording? It happens only when you scroll up again and it's at the top and you want to scroll further up.
Pls let me know If I can do anything to help with this.
It sounds like you might be referring to the over-scroll or "scroll bounce" effect, which is a native feature of Safari on scrollable elements that can't be disabled with CSS alone, unfortunately. The sticky column can be contained to the same level as the right-hand chat window by adding the following CSS snippet though:
Hi,
Thanks. I've added the snippet but it made no difference. Hereby I send you a screen recording: https://we.tl/t-sOS3QSZyou
Are we talking about the same thing?
Thanks again!
Hey Tes, yes that's the "overscroll" effect. If you'd like to make the effect more seamless with your design, the "reviews" toolbar would need to be moved into the scrollable area instead of sitting above it so that when the overscroll occurs, the bar moves along with the scrollable area.
HI, thanks. I understand. It is correct that this overscroll effect is only visible in Safari, and not in Chrome, yes?
I do have one other issue. In safari that same pop-up has less white space at the top of the left sticky column compared to the same one in chrome. I've attached both screenshots.
Is there a fix for this? I got this css from you guys:
@media only screen and (min-width: 1000px) {
.nectar-sticky-column-css.vc_column_container > .n-sticky > .vc_column-inner >.wpb_wrapper {
top: -50px !important;
position: relative;
}
}
Thanks in advance.
Best regards. Tes
Hey Tes, the overscroll should be visible in both on the body (on Mac OS when using a trackpad), but it looks like Safari also enables it for child divs set to overflow: scroll.
I'm not able to see that spacing difference between Safari/Chrome on my end yet. Can you also verify that it's unrelated to being logged in with the admin toolbar?
Kind regards,