Changing border, making height work
-
Hi,
Not to say that this plugin isn’t working, but there are some minor errors in your facebook-like-box-widget.php. I messed around in the file, and for future reference I’m writing down what I did.
First, changing the border color doesn’t work. I wanted not to have a border at all, so what I did is this:
find this code:
border_color=\"$borderColor\"
It’s in the definitions of $like_button_xfbml. Replace it with:
show_border=\"false\"
in both instances. This eliminates the borders. Presumably $borderColor should be defined somewhere, but I didn’t bother to look.
Second, defining a height in the widget has no effect. In the same lines as above, you will find width=\”$width\” but no height defined. Just add
height=\"$height\"
and the height you enter in the widget actually has effect.
- The topic ‘Changing border, making height work’ is closed to new replies.