Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to get the twitter button to align with the like button like in the pic?
Hi, this is a great addition thank you for writing it. One little thing when I enable it, it will snap up under on the left side I was wondering how you got it to align with the "facebook like" button on the right side like in your picture? Thanks.
0
Comments
seems like we're having the same prob and it's been a year that nobody shared something. im having a hard time figuring things out.
@travelguide Without a screenshot or a link to see the site and examine the code it is very hard to give the proper advice, it is like throwing darts in the dark. Also, depending on your grasp of css and html is how one knows how to answer in a way you can understand.
If you do not have a grasp of these things then you need to learn how or hire someone to do it for you. Alignment and image resizing are rather simple concepts if you know the basics at least of css and html.
Here is a great resource to start learning.
http://www.w3schools.com/css/
Everyone does but has to learn eventually. It is a matter of learning what you do not know , then it is rather easy. Most people here have years of learning under their belt about one thing or another, it is something that can't be transferred in a day or a week no matter how helpful one want to be. There are things that you need to learn on your own.
So in this example, this is the location of the FB on this forum. However it may be named something else using another theme. It may have other coordinates. This is where a link to the site in question comes in handy. The fastest way to help is to look at the source code. Otherwise it's a guessing game.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Solved:
open the plugin files via /plugins and look for this code for "liked" & "twitter"
************ change BeforeDiscussion_Handler to AfterDiscussion_Handler
with this approach twitter and facebook icons will be transferred to after the discussion. that's the least hack i could do for now
This will make them side by side
class Twitter_ButtonPlugin extends Gdn_Plugin {
public function Setup() {
// No setup required.
}
}
Inline styles should be discouraged. Give that div a descriptive class or ID and move those styles to your style sheets where they belong. Not only will it be easier to maintain, other people won't have to resort to the equally terrible
!important
declaration.Just a PSA.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight thanks so much for your comment + suggestion
@hgtonight
Reminds me of this painful commit xd

There was an error rendering this rich post.