Keyword

k2 Modules problem on browsers

  • Enes
  • Enes's Avatar Topic Author
  • Offline
  • Moderator
  • JoomlaBilgi.org
More
14 years 4 months ago #82777 by Enes
k2 Modules problem on browsers was created by Enes
Hello guys,I have a website and use K2 compenent and also its modules. But as you can see from the attached images, k2_tools module (in left column) has different looks on different browsers.For example in Safari and Google Chrome, module is very long, but in Firefox and Internet Explorer it is shorter than Safari and Chrome. You can check it yourself: www.joomlabilgi.orgIn my opinon shorter one is normal and good, but this situation is very big problem for me, because I can not build my website as I want.If any solution please inform me. Thanks...

we love K2...
Joomla Templates |

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

  • Yiota
  • Yiota's Avatar
  • Visitor
14 years 4 months ago #82778 by Yiota
Replied by Yiota on topic k2 Modules problem on browsers
It has to do with the br class="clr" elements the module has, and how each browser interprets it. You could change that in a span class="clr" element and resolve this issue.

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

  • Enes
  • Enes's Avatar Topic Author
  • Offline
  • Moderator
  • JoomlaBilgi.org
More
14 years 4 months ago #82779 by Enes
Replied by Enes on topic k2 Modules problem on browsers
Thank you so much, I solved my problem by your hack. Thanks again...

Yiota Ziaggou said:It has to do with the br class="clr" elements the module has, and how each browser interprets it. You could change that in a span class="clr" element and resolve this issue.

we love K2...
Joomla Templates |

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

More
14 years 3 months ago #82780 by abe
Replied by abe on topic k2 Modules problem on browsers
Can you please tell me exactly where I need to change that. I have the same problem in Chrome.
Thanks

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

  • Yiota
  • Yiota's Avatar
  • Visitor
14 years 3 months ago #82781 by Yiota
Replied by Yiota on topic k2 Modules problem on browsers
First of all you have to do a module template override. Copy the folder modules/mod_k2_content/tmpl/Default/default.php to templates/Your Template/html/mod_k2_content/Default/default.php.
Then open the file default.php you have copied and replace all br class="clr" with span class="clr".

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

More
13 years 5 months ago #82782 by Mark Corderoy
Replied by Mark Corderoy on topic k2 Modules problem on browsers
br class="clr" does seem to exist in this file?

Yiota Ziaggou said:
First of all you have to do a module template override. Copy the folder modules/mod_k2_content/tmpl/Default/default.php to templates/Your Template/html/mod_k2_content/Default/default.php. Then open the file default.php you have copied and replace all br class="clr" with span class="clr".

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

More
13 years 5 months ago #82783 by william white
Replied by william white on topic k2 Modules problem on browsers
Please send a link to the page causing problems so people can look at it with firebug.

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

More
13 years 5 months ago #82784 by Mark Corderoy
Replied by Mark Corderoy on topic k2 Modules problem on browsers
I have since found another thread in this forum that had a default.zip for download, all seems to be working now

Thanks for the swift response

Regards

Mark
William White said:

Please send a link to the page causing problems so people can look at it with firebug.

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


Powered by Kunena Forum