Archived

This topic is now archived and is closed to further replies.

  • 0

Issue with facebook like


Question

Posted · Report post

Hello, I have an issue with the facebook like. Below is a screenshot of the like box, and the css both prior to a change, and after. If I make the css change, will it have any affect on other areas?

 

body .entry_content iframe, body .entry_content video, body .entry_content object {
    max-width: 100%;
}

change to:

 

body .entry_content iframe {
    max-width: 450px;
}

in custom css....

 

before:

 

fblike.png

 

after

 


fblike1.png

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi Anthony,

 

The code you created will only affect use of iFrames in the body.

 

Now since body is a higher level, that basically means pretty much most iframes will be affected.

 

If you're working on your site and add any iframes, I'd just keep a note of this and make sure you use a very specific level other than .entry_content

 

Hopefully, if you don't use iframes, you shouldn't have any problems with this. Keep an eye out for plugins or Amazon banner ads which use iFrames.

Share this post


Link to post
Share on other sites