- This topic has 34 replies, 2 voices, and was last updated 5 years, 4 months ago by
Leo.
-
AuthorPosts
-
March 6, 2019 at 11:18 am #830874
David
StaffCustomer SupportOk, so these next steps:
1. Go to Appearance > GP Social Settings –> Settings Tab. And Click Disable Hook.
2. Add this CSS:#gp-social-share { position: sticky !important; position: -webkit-sticky !important; flex-direction: column; margin-left: -45px !important; top: 80px; } .single-post .entry-header { margin-top: -128px; } .single-post.separate-containers .inside-article { padding-left: 60px; } @media (max-width: 768px) { .single-post.separate-containers .inside-article { padding-left: 60px; } }March 6, 2019 at 11:28 am #830890Santa
Thanks!
It made them vertical, thats great!
When adding the CSS it shows (!) where the sticky is written.
It also appears that when its -128 the site text is too high.
Can the icons be changed from sticky to fixed? But when scrolled to top, they could stop scrolling where the white background ends? Is it possible and how hard could it be to do it?Thank you for your help!
March 6, 2019 at 11:49 am #830903David
StaffCustomer SupportI am getting Server Unreachable again….
March 9, 2019 at 7:31 am #833912Santa
Thanks for letting me know. I have added a domain name, it should be possible to reach it now.
March 9, 2019 at 7:35 am #833917David
StaffCustomer SupportCan you add back the code etc…
The ! beside the Sticky property in Additional CSS can be ignored. The Customizers lint (code checker) doesn’t support 100% of CSS3 properties but it works.March 9, 2019 at 7:44 am #833927Santa
Thanks, yes the code works. How to make it sticky and more on left?
March 9, 2019 at 7:48 am #833930David
StaffCustomer SupportMarch 9, 2019 at 8:24 am #833942Santa
Thank you very much!
I guess the comments box is fine and will stay the same.Thank you for helping!
March 9, 2019 at 8:48 am #833956David
StaffCustomer Supportyou’re welcome.
Sorry missed the comments request – making sidebars appear before it on mobile is really really difficult it would require serious custom development… sorryMarch 10, 2019 at 7:33 am #834643Santa
Hi! Maybe you can help with one more question.
I have an image on the right sidebar that I would like to be sticky as well when scrolled down.
How to do it? And how to remove website field from comments?Thank you!
March 10, 2019 at 8:59 am #834684David
StaffCustomer SupportTricky one to make image stick as well – but try this:
@media (min-width: 1024px) { .site-content { position: relative; } #right-sidebar { position: absolute; top: 0; right: 0; bottom: 0; } .inside-right-sidebar { height: 100%; } .inside-right-sidebar>p { position: -webkit-sticky; position: sticky; top: 80px; } }Remove comments URL field – Tom provides a PHP snippet here:
March 10, 2019 at 10:21 am #834777Santa
Thank you, it works!
March 10, 2019 at 10:36 am #834784David
StaffCustomer SupportYou’re welcome
May 29, 2019 at 9:19 am #914567JUAN JOSE GONZALEZ
Hello! I am interested in the same solution.. I´d like something like this in one of the Generatepress´s themes: https://generatepress.com/site-library/
To be more specific, I am using GP´s Merch template. I am trying to get it through GP Social Settings, but I don´t get it.
Could you please help me with this issue? Thanks in advance
May 29, 2019 at 9:22 am #914573JUAN JOSE GONZALEZ
I am trying that social share buttoms be situated in the same place as in GP´s Liberte theme posts, but using GP´s Merch template. Is it that possible?
-
AuthorPosts
- The topic ‘Social Share buttons only in post and fixed in sidebar’ is closed to new replies.