- This topic has 29 replies, 4 voices, and was last updated 1 year, 12 months ago by Fernando.
-
AuthorPosts
-
April 10, 2022 at 11:09 am #2184238YingStaffCustomer Support
Hi there,
Check the screenshot below:
https://www.screencast.com/t/foLVJ6wKApril 13, 2022 at 7:05 am #2187479AdarshaHi, thanks, it works now.
How can I make sure it is much bigger and also add a line like “Share on” to its side?April 13, 2022 at 8:09 am #2187768DavidStaffCustomer SupportInclude the text inside the HTML.
So change this:<div class="floating-container"> [gp-social] </div>
to
<div class="floating-container"> Add your text here [gp-social] </div>
April 15, 2022 at 7:52 am #2189934AdarshaHey.
Was any of the previous codes you gave had something to do with it being added to right sidebar?
Because, as soon as I enabled right sidebar, the icons jumped to right exactly like I wanted it.
But I have not added this html in right sidebar widget. It is in post template.Further, how can I make these icons to be sticky so that it can move along with scrolling?
I created a staging site and sent a sample link.April 15, 2022 at 7:56 am #2189937DavidStaffCustomer SupportNo – theres no relevance to the sidebar in the codes we provided. It will/should work whether there is a sidebar or no sidebar.
The HTML i provided has been added to the Container Block that has the Breadcrumbs inside it.
You need to move the HTML to the Container Block that has the the Dynamic Content block.April 15, 2022 at 8:07 am #2189944AdarshaHow is it that it added to side then? Until I enabled sidebar it was at top and now it has moved to side.
If you want, I can disable the sidebar and show you. It will then move to top.I actually want it this way only. But I want to know why it went to side, so I can understand.
April 15, 2022 at 8:42 am #2189977DavidStaffCustomer SupportYou can disable the sidebar if you like.
But the only conditional part of the code is this part of the CSS:@media (min-width: 840px)
So it only positions itself vertically and sticky on screens wider then 840px.
This was defined for the original site it was built for. You may need to adjust the 840px breakpoint to suit your site.If you want the social icons to stick, then you need to make the change i said here
April 15, 2022 at 10:42 am #2190054AdarshaHey. I did as you mentioned.
It did work. Thank youBut, when I add “share on” text, it moves to horizontal. While share icons remain vertical.
How can I make it alright?Also want to increase the size of hare icons if possible.
April 16, 2022 at 3:41 am #2190433DavidStaffCustomer SupportCheck in the Social Share Plugin settings for the Icon Size.
For the text, wrap it in some HTML with a CSS class so we can orientate it eg.<span class="share-title">You share text</span>
April 17, 2022 at 5:18 am #2191245AdarshaSo it only positions itself vertically and sticky on screens wider then 840px.
This was defined for the original site it was built for. You may need to adjust the 840px breakpoint to suit your site.Can you give me idea on what part of code it defines to be vertical?
I want to add more padding at top so that it wont go to edge when scrolling also add more padding on right side near content.But not sure where its defined to do vertical. As it shows horizontal at top until I enable sidebar.
April 17, 2022 at 11:25 pm #2191888Fernando Customer SupportHi Adarsha,
The specific code making it vertical is this:
flex-direction: column;
in the code provided by David. The screen width where this change occurs is defined through this:@media (min-width: 840px)
.You can add top padding for instance by modifying the code as such:
@media (min-width: 840px) { .floating-container { display: block; position: sticky !important; position: -webkit-sticky !important; top: 80px; height: 0; } #gp-social-share { top: 1em; flex-direction: column; left: -50px !important; padding-top: 50px; } }
Kindly modify
padding-top: 50px;
with your preferred value.To modify the “space” between the social icons and the content, you may modify the left value. However, you’ll need to adjust the
@media (min-width: 840px)
breakpoint as well to make sure it appears all the time.Hope this clarifies. 🙂
April 21, 2022 at 8:18 am #2196149AdarshaHey.
Thanks for the reply.
Unfortunately both of them are not working.
I have put top padding on 500 and left also on -500 and nothing changes.
I have put in on 500 just to see if anything varies.April 21, 2022 at 10:59 am #2196288AdarshaHey, it has moved. But putting back on previous values is not moving it back. It has stuck to wide sides sadly.
https://prnt.sc/mOk6-1jM2P4hApril 21, 2022 at 11:03 am #2196289AdarshaOk I completely got rid of the plugin. It has quite some issues and ain’t updated.
Thanks a lot for trying to help with all the codes though. Appreciate it.
April 21, 2022 at 5:06 pm #2196466Fernando Customer SupportI see. You’re welcome Adarsha! Feel free to reach out anytime you’ll need assistance with anything else. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.