Jump to content
danoah

Theme Cutting Off Facebook "like" Box Comment Drop-Down

Recommended Posts

danoah

Hello, when I install a like button in the content itself (for example in the first paragraph of this post: http://www.danoah.com/2011/11/im-christian-unless-youre-gay.html) the drop-down is cut off and doesn't display properly after a user clicks like.

Google searches lead me to believe that there is a problem with the CSS somewhere. Any idea how I can fix that?

Thanks, Dan

Share this post


Link to post
Share on other sites
Rob

Dan, I'm not sure why it's doing that. Very weird, I dare say. I'm looking into it and should have some answers by Monday or so. Unfortunately, I'm a hurricane evacuee at the moment, so if I don't answer this again, please bump it to one of my colleagues.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
danoah

BUMP

Thanks for your reply Rob, stay safe!

Any others have any idea how I can fix this?

Share this post


Link to post
Share on other sites
James B

Hi there, the buttons seem to be using inline css which specify the width and height. I'd imagine these settings are built into the widget/plugin somewhere. At the moment it's showing a height: 86px & width: 49px.

I can't any css fixes for this other than the inline options. I'd say email the plugin author and see if he has a fix for the css or a container he can suggest we target.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
danoah

Thanks for the reply. I don't use a plugin or inline CSS for these with the exception of float:right and padding (this problem happens when I eliminate the inline). I simply copy the code from Facebook's developer site.

I've also tried setting the width higher in the plugin itself.

I'm being told this is definitely theme/css related so any help would be really appreciated.

Share this post


Link to post
Share on other sites
Danny

Hi,

I don't use Facebook, so can you take a screenshot of the issue please. Also, where abouts on Facebook did you find the code, can you link it please and where/how did you add it to your site.

One last thing, please do not Bump topics.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
yoavtaler

Hi. 

I have the same issue with the Facebook like button. I tried using the button with two different plugins, and the behaviour was the same. One of them is the Facebook plugin for wordpress, the other is called Facebook Button Plugin. The guys at the facebook developer forum claim this problem originates in the theme style.

here's a screen shot: 
facebook-bug.jpg

 

I'd appreciate a "custom code" solution...
I have no real knowledge of css coding. 

thanks a lot.

Share this post


Link to post
Share on other sites
mackenzie

Looking at your site I am not seeing a Like button in the middle of the paragraph and when I tested all the Like's and Sends for Facebook they seemed to work for me (I'm in fireFox). Would it be possible to include a screenshot so we can troubleshoot, please?


Mackenzie - PageLines Help Desk

The Centsible Family - Writer, Photographer and Coffee Addict

---------------------------------------------------

Kindly search this forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

Share this post


Link to post
Share on other sites
yoavtaler

Thanks.

My like buttons are before and after a post/page's content. I checked it both on latest chrome and safari on mac. The likes and sends are working, but the comment box is cut.  here's a full screenshot:

facebook-bug1-1024x640.jpg

thanks.facebook-bug1-1024x640.jpg

Share this post


Link to post
Share on other sites
Jenny

Please visit PageLines -> Site Options -> Custom Code -> Custom CSS/LESS and add the following to the box:

 

body .entry_content iframe {
    max-width: 617%;
}

Hope that helps!


Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
yoavtaler

Thanks Jenny. 
Well, it moves the whole comment box to the left and shows it completely. Which is good and functional.
Stil - Isn't there a "cleaner" solution? like making it appear where it should be? I'm no expert on css, but clearly something is overlapping the comment box.

 

Share this post


Link to post
Share on other sites
Rob

Hi,

 

I think the solution Jenny provided is the best for the present.  You're able to test other CSS options using Firebug for Firefox or Chrome's Inspection Tool.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      See:
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
          }
      }
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using the LESS/CSS Pagelines extension and tried to add the following code to make use of FontAwesome:
      a.c2a:before {
          content: "\f07a\00a0";
          font-family: "Font Awesome 5 Pro";
          Font-weight: 900;
          font-style: normal;
          font-weight: normal;
          text-decoration: inherit;
          padding-left: 4px;
      }
       
      The issue is that as soon as I have the CSS via the Custom Styling text box, Pagelines (or the extension) strips out the backslashes (\). As a result, I had to abandon the CSS/LESS extension and instead add all my CSS code to a separate .css file.
      Is there a fix or workaround for this?
      Thanks
      Michael
    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • werdnags
      By werdnags+
      I know this does not have anything to do with Pagelines directly but this is happening on my PL5 site.  At the bottom of my blog posts I have put the Facebook Comments Plugin and it works well but when people are leaving comments they are the same for every post.  Does anyone have any idea on how to solve this so the comments are for the post they are on.  Does that make sense? Ha!
      Thanks for any ideas folks.
×