• My website

    I’ve put up the facebook like button (manually through code) beside the post date and comment count on the posts that are displayed on the homepage.

    The button works perfectly, but when I click on it, it is ideally supposed to expand down fully to give me the option to add some text and post on facebook.

    In my case, it expands, but only till the width of the button.
    (You’ll have to visit my site and see to understand what I’m talking about)

    How do I get it to expand properly?

    Here’s my code in content.php:

    <div class="entry-meta">
    <?php hemingway_rewritten_posted_on(); ?>
    
    <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
    
    <span class="comments-link"><span class="sep"> / </span> 
    
    <a href="<?php echo get_permalink($post->ID); ?>#fbcomments">
    <fb:comments-count href="<?php echo get_permalink($post->ID); ?>">    </fb:comments-count>&nbsp;comments </a> 
    
    </span> <span class="sep"> / </span> 
    
    <fb:like href="<?php the_permalink() ?>" width="300" layout="button_count" action="like" show_faces="false" share="false"></fb:like>
    
    <?php endif; ?>
    
    <?php edit_post_link( __( 'Edit', 'hemingway-rewritten' ), '<span class="edit-link"><span class="sep"> / </span>', '</span>' ); ?>
    
    </div><!-- .entry-meta -->
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m sorry no one answered you question. It appears you resolved this by getting rid of the button. It sounds like just a CSS issue. If you’re still interested in having such buttons, please respond here. You’d have to add a button on a page somewhere that demonstrates the problem. I’d be willing to take a look and see if I can identify the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Facebook like button on homepage not expanding after click’ is closed to new replies.