Little CSS Bug - FB iframe Social Plugin [SOLVED]

  • Posts: 45
  • Thank you received: 0
12 years 11 months ago #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 & 142:
if($plugin->params==1){ $sizes='class="hikashop_social_fb_button_count'; }
if($plugin->params==2){ $sizes='class="hikashop_social_fb_box_count'; }

i changed to:
if($plugin->params==1){ $sizes='class="hikashop_social_fb_button_count"'; }
if($plugin->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 or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #31217

Thank you for your feedback.

We'll change that for next version !

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
12 years 10 months ago #34376

Hi,

Is this why the buttons look like this:

Do I need to upload the plugin again?

Cheers :)

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 10 months ago #34409

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 or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
12 years 10 months ago #34494

Thanks :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum