Home › Forums › Support › JetPack Social Share on sections: align to container width This topic has 7 replies, 2 voices, and was last updated 6 years, 1 month ago by Leo. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts February 22, 2018 at 7:44 am #502930 drew I’ve noticed that when using sections, Jetpack’s social share is aligning to absolute left as opposed to the inner container width. Alignment on page w/o sections: https://apollosfire.org/about/apollos-fire/ Alignment on page w/sections: https://apollosfire.org/about/apollos-fire-musicians/ Is there a way to have the share function adopt the inner container margins when determining left align? February 22, 2018 at 9:28 am #503025 LeoStaff Customer Support HI there, Are you able to add a class to the social share? Currently you have: <div class="sharedaddy sd-sharing-enabled"> Changing it to: <div class="sharedaddy sd-sharing-enabled grid-container"> should work. Let me know. February 22, 2018 at 9:41 am #503030 drew If I’m following you correctly, that would require modifying one of jetpack’s php file, correct? If so, wouldn’t that get overwritten on updates? February 22, 2018 at 1:43 pm #503204 LeoStaff Customer Support How is it added currently? February 22, 2018 at 2:06 pm #503213 drew However JetPack has it set up. When activating that module, it adds the share function automatically. While there’s an option to disable their JS and CSS, there’s nothing that lets a user manually insert it via a hook or custom function. February 22, 2018 at 5:43 pm #503300 LeoStaff Customer Support That’s not very convenient. I would recommend asking Jetpack if they have a way to add that custom class in there. February 22, 2018 at 7:07 pm #503325 drew Acknowledged and will do. If they come back with anything useful, I’ll post a follow-up here so others can find the solution if they run into it. February 22, 2018 at 9:11 pm #503384 LeoStaff Customer Support Sounds good 🙂 Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In