Chat Room Article Base Facebook Page Twitter RSS Feed
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2012, 10:26:16 PM

Login with username, password and session length
Search:     Advanced search
The E-commerce forum, the best place for advice for your Small Business.
12787 Posts in 1519 Topics by 6451 Members
Latest Member: jackmiller
* Home Help Search Login Register
+  E-commerce forum
|-+  E-commerce
| |-+  Website development
| | |-+  added facebook and twitter follow buttons but in wrong place, help needed
« previous next »
Pages: [1] Print
Author Topic: added facebook and twitter follow buttons but in wrong place, help needed  (Read 278 times)
KNM Computers
Liking it Here
***

Karma: 1
Offline Offline

Posts: 148


WWW
« on: April 13, 2011, 11:39:53 PM »

hi everyone ive added a facebook like button and a twitter follow button to my website but they dont seem to want to go on the main bar it the top have a look www.knmcomputers.co.uk

here is where i added the code in the tpl_header.php

<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FStevenage-United-Kingdom%2FKNM-Computers%2F200066086680456&amp;layout=button_count&amp;show_faces=false&amp;width=550&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:550px; height:21px;" allowTransparency="true"></iframe>Follow KNMCOMPUTERS on Twitter
<!--eof-header logo and navigation display-->

can any one help me on this?????
Logged
seamus
zen master
Shareholder ;o)
*****

Karma: 44
Offline Offline

Gender: Male
Posts: 1109



WWW
« Reply #1 on: April 13, 2011, 11:56:14 PM »

reduce the width of the iframe, its set at 550px wide which is pushing the twitter button off the line its on and forcing it underneath the fb like button

does the iframe show any more info or is it just the like button and like count? if it doesnt show anything else, it doesnt need to be anywhere near 550px wide, 100px will do the job fine and the twitter button will site right next to it and not underneath
Logged

KNM Computers
Liking it Here
***

Karma: 1
Offline Offline

Posts: 148


WWW
« Reply #2 on: April 14, 2011, 12:02:01 AM »

Yeah it is just the button and counter, ok
Ill have look at that thankyou seamus
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
SimplePortal 2.2.2 © 2008-2009