[Skip to main content](#vessel-content)

#   Little CSS Bug - FB iframe Social Plugin \[SOLVED\]

##

- **[Karloz](/forum/user/3250-karloz "View Karloz's Profile")**
- [![Karloz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3250-karloz "View Karloz's Profile") Topic Author
- [ Offline](/forum/user/3250-karloz)

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 10 months ago [\#31190](#31190) by [Karloz](/forum/user/3250-karloz "View Karloz's Profile")  *[Little CSS Bug - FB iframe Social Plugin \[SOLVED\]](/forum/3-bug-report/31190-little-css-bug-fb-iframe-social-plugin-solved#31190 "hi, just want to let you know a little bug i found in commas which doesnt read css correctly for fb iframce in hikashop social plugin  plugins/content/hikashopsocial/hikashopsocial.php  line 141 &amp; 142: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count'; }  i changed to: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count&quot;'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count&quot;'; }  (missing comma after class name)  and line 151: style=&quot;border:none; overflow:hidden; '.$sizes.'&quot;  i changed to: style=&quot;border:none; overflow:hidden;&quot; '.$sizes.'  hope its ok, now its displaying in code correctly and can tweak via css file")* was created by *[Karloz](/forum/user/3250-karloz "View Karloz's Profile")*

hi, just want to let you know a little bug i found in commas which doesnt read css correctly for fb iframce in hikashop social plugin

plugins/content/hikashopsocial/hikashopsocial.php

line 141 &amp; 142:
if($plugin-&gt;params==1){ $sizes='class="hikashop_social_fb_button_count'; }
if($plugin-&gt;params==2){ $sizes='class="hikashop_social_fb_box_count'; }

i changed to:
if($plugin-&gt;params==1){ $sizes='class="hikashop_social_fb_button_count"'; }
if($plugin-&gt;params==2){ $sizes='class="hikashop_social_fb_box_count"'; }

(missing comma after class name)

and line 151:
style="border:none; overflow:hidden; '.$sizes.'"

i changed to:
style="border:none; overflow:hidden;" '.$sizes.'

hope its ok, now its displaying in code correctly and can tweak via css file

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTE5MC1saXR0bGUtY3NzLWJ1Zy1mYi1pZnJhbWUtc29jaWFsLXBsdWdpbi1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

14 years 10 months ago [\#31217](#31217) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Little CSS Bug - FB iframe Social Plugin \[SOLVED\]](/forum/3-bug-report/31190-little-css-bug-fb-iframe-social-plugin-solved#31217 "hi, just want to let you know a little bug i found in commas which doesnt read css correctly for fb iframce in hikashop social plugin  plugins/content/hikashopsocial/hikashopsocial.php  line 141 &amp; 142: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count'; }  i changed to: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count&quot;'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count&quot;'; }  (missing comma after class name)  and line 151: style=&quot;border:none; overflow:hidden; '.$sizes.'&quot;  i changed to: style=&quot;border:none; overflow:hidden;&quot; '.$sizes.'  hope its ok, now its displaying in code correctly and can tweak via css file")*

Thank you for your feedback.

We'll change that for next version !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTE5MC1saXR0bGUtY3NzLWJ1Zy1mYi1pZnJhbWUtc29jaWFsLXBsdWdpbi1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

14 years 9 months ago [\#34376](#34376) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Little CSS Bug - FB iframe Social Plugin \[SOLVED\]](/forum/3-bug-report/31190-little-css-bug-fb-iframe-social-plugin-solved#34376 "hi, just want to let you know a little bug i found in commas which doesnt read css correctly for fb iframce in hikashop social plugin  plugins/content/hikashopsocial/hikashopsocial.php  line 141 &amp; 142: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count'; }  i changed to: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count&quot;'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count&quot;'; }  (missing comma after class name)  and line 151: style=&quot;border:none; overflow:hidden; '.$sizes.'&quot;  i changed to: style=&quot;border:none; overflow:hidden;&quot; '.$sizes.'  hope its ok, now its displaying in code correctly and can tweak via css file")*

Hi,

Is this why the buttons look like this:

Do I need to upload the plugin again?

Cheers ![:)](/media/kunena/emoticons/8.png ":)") [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/ghh.JPG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/ghh.JPG "&#91;img")

- [ ![ghh.JPG](/forum/attachment/2337) ](/forum/attachment/2337 "ghh.JPG") [ ](/forum/attachment/2337?download=1 "ghh.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTE5MC1saXR0bGUtY3NzLWJ1Zy1mYi1pZnJhbWUtc29jaWFsLXBsdWdpbi1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

14 years 9 months ago [\#34409](#34409) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Little CSS Bug - FB iframe Social Plugin \[SOLVED\]](/forum/3-bug-report/31190-little-css-bug-fb-iframe-social-plugin-solved#34409 "hi, just want to let you know a little bug i found in commas which doesnt read css correctly for fb iframce in hikashop social plugin  plugins/content/hikashopsocial/hikashopsocial.php  line 141 &amp; 142: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count'; }  i changed to: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count&quot;'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count&quot;'; }  (missing comma after class name)  and line 151: style=&quot;border:none; overflow:hidden; '.$sizes.'&quot;  i changed to: style=&quot;border:none; overflow:hidden;&quot; '.$sizes.'  hope its ok, now its displaying in code correctly and can tweak via css file")*

It's not because of that. You should edit the front end CSS file of HikaShop via the Display tab of the configuraiton and change that code to increase a bit the height:

\#hikashop_social iframe{
height: 50px !important;
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTE5MC1saXR0bGUtY3NzLWJ1Zy1mYi1pZnJhbWUtc29jaWFsLXBsdWdpbi1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

14 years 9 months ago [\#34494](#34494) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Little CSS Bug - FB iframe Social Plugin \[SOLVED\]](/forum/3-bug-report/31190-little-css-bug-fb-iframe-social-plugin-solved#34494 "hi, just want to let you know a little bug i found in commas which doesnt read css correctly for fb iframce in hikashop social plugin  plugins/content/hikashopsocial/hikashopsocial.php  line 141 &amp; 142: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count'; }  i changed to: if($plugin-&gt;params==1){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;button&#95;count&quot;'; } if($plugin-&gt;params==2){ $sizes='class=&quot;hikashop&#95;social&#95;fb&#95;box&#95;count&quot;'; }  (missing comma after class name)  and line 151: style=&quot;border:none; overflow:hidden; '.$sizes.'&quot;  i changed to: style=&quot;border:none; overflow:hidden;&quot; '.$sizes.'  hope its ok, now its displaying in code correctly and can tweak via css file")*

Thanks ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMTE5MC1saXR0bGUtY3NzLWJ1Zy1mYi1pZnJhbWUtc29jaWFsLXBsdWdpbi1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.251 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
