Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Social Buttons Twitter button mangled Rate Topic   - - - - -

 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 10 December 2013 - 03:21 PM #1

Hi, since recently my Twitter button activated via Social Buttons add-on is mangled up as per the attached. It shows "English | French" text with hyperlinks that don't do anything.

Any idea what happened? Incidentally, my WP Tweet button also looked like this today, so is it something that changed on Twitter side?

This is the page source:

<div class="clear"></div>
<ul class="social-buttons social-buttons_ul">
		<li class="social-buttons_li clearfix"><a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-size="large" data-via="@japanexposures" data-count="vertical" data-url="http://www.url.com/store/product.html" >Tweet</a>
<script type="text/javascript">
//<![CDATA[
	!function(d,s,id){
		var js,fjs=d.getElementsByTagName(s)[0];
		if(!d.getElementById(id)){
			js=d.createElement(s);
			js.id=id;
			js.src="https://platform.twitter.com/widgets.js";
			fjs.parentNode.insertBefore(js,fjs);
		}
	}(document,"script","twitter-wjs");
//]]>
</script>
</li>

Attached Thumbnails

  • twitter.png


 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 19 December 2013 - 02:22 PM #2

Anyone with advice? Don't feel like spending 10 support credits on fixing this...

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 19 December 2013 - 03:00 PM #3

It helps if you post which version you are running, perhaps a link to the site and any modifications you may have made to the product page templates.

I haven't seen this on any CS-Cart site from V2 through V4 which suggests the problem is likely with your install.
Hire StellarBytes for CS-Cart Design & Development Services

 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 20 December 2013 - 08:50 AM #4

Thanks - sorry, it is latest 4.0.3. Unfortunately I cannot link to the site as I have the Twitter button currently turned off.

I don't think I have made any changes to the product page template, only to the CSS for the Social Buttons.

It helps if you post which version you are running, perhaps a link to the site and any modifications you may have made to the product page templates.

I haven't seen this on any CS-Cart site from V2 through V4 which suggests the problem is likely with your install.



 
  • NairdaCart
  • Senior Member
  • Members
  • Join Date: 18-Jul 11
  • 306 posts

Posted 20 December 2013 - 11:44 AM #5

Restore the original CSS back and if that works then you can compare the changes you made.

 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 20 December 2013 - 01:33 PM #6

Hmm, you were right, that corrected it! Thank you!

Great, but how come that some CSS code (via MyChanges) throws the whole button out of alignment? I just wanted the buttons to be on one line...

.social-buttons_li {
display: inline;
width: auto;
float: left;
margin: 0px 25px 0px 0;
}

Attached Thumbnails

  • screen.png


 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 20 December 2013 - 01:44 PM #7

Mmmmh, I used an amended version of the original CSS and it works now!

Many thanks!!

.social-buttons_ul .social-buttons_li {
    margin: 5px 25px 0px 0;
    display: inline;
width: auto;
float: left;
}