Keyword

line spacing or height in K2content module - Safari

More
14 years 7 months ago #73426 by leonidas
Where is located the css for K2content module? i have a black background in my template and this module have white background.I want to make it transparent.

ashfaqur rahman said:I,m in a big problem with this module I wish to add this module to horizontally show the latest news in frontpage. Imake some changes in css just give all li a fixed width and float left them but for k2s poor image resizeing option It massed up if the title is littile long and if the all image is not same size. can you people give me a easy solution of how can I show news horizontaly in frontpage??
Andy Critchlow said:Hi, are you using the module inside a front page article via modposition?? because I have tried this and I get the same probelm you have described when I do... If I simply place teh module in a mod position it works fine now after adding the php file CB kindly provided.. Thanks CB massive headache solved.


Jason Hull said:I went through several files and it seems sometimes they use the br and othertimes the div.. no consistency. So I figured it was in the module tmpl area for the k2 content module... and that fixed my issue. Thanks a ton! Jason Hull said:Which files did you modify? BBC said:I fixed my problems with Safari and Chrome browsers. Renamed all <.....br class="clr"/.......> to

<....div class="clr"....><.../div....>
(don´t forget closing tags)
And it is now working perfectly in all browsers. The same spacing in millimeter.

When i removed some (or all)
<....br class="clr"/....>
i still needed to make a lot of styling and tweaking in css file to get same results in all browsers.

This way i had not to do this. It is perfect as it is in all browsers, and absolutely same results.

This forum is stupid. Just remove all these dots up there. Forum wont allow to put this as it is.

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

More
14 years 7 months ago #73427 by ANdrew
Would you be able to supply me with a sample snioppet so I can compare and see how your looks.. I am new to PHP so would liek to learn more on how you did this.

Thanks

BBC said:I fixed my problems with Safari and Chrome browsers. Renamed all

<.....br class="clr"/.......>

to

<....div class="clr"....><.../div....>
(don´t forget closing tags)
And it is now working perfectly in all browsers. The same spacing in millimeter.

When i removed some (or all)
<....br class="clr"/....>
i still needed to make a lot of styling and tweaking in css file to get same results in all browsers.

This way i had not to do this. It is perfect as it is in all browsers, and absolutely same results.

This forum is stupid. Just remove all these dots up there. Forum wont allow to put this as it is.

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

More
14 years 7 months ago #73428 by OpenPotion, Inc.
Replied by OpenPotion, Inc. on topic line spacing or height in K2content module - Safari
Feel free to look at this site... I have it on the homepage... check the difference between the code on mine and yours

www.minicassiachamber.com

I went into the module code and replaced the BR clear tags with div clear tags.

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

More
14 years 7 months ago #73429 by fresco
Lance, your sample code has been canceled, please try to insert it again

Lance said:For everyone still looking for a solution to the extra break tags in your content K2 Content module (K2 v2.2), simply open:
modules/mod_k2_content/tmpl/Default/default.php

in a text editor or Dreamweaver, etc and search forand replace it withSave the file and upload it over the existing file.

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

More
14 years 6 months ago #73430 by BBC
I am sorry man, haven´t been at forum for a long time. Here is a mod_k2_content/tmpl/Default/default.php file.
It fixed all my problems with layout in different browsers. Now it is same look in every browser i tested.

Jason Hull said:Which files did you modify?
BBC said:I fixed my problems with Safari and Chrome browsers. Renamed all
<.....br class="clr"/.......>

to

<....div class="clr"....><.../div....>
(don´t forget closing tags)
And it is now working perfectly in all browsers. The same spacing in millimeter.

When i removed some (or all)
<....br class="clr"/....>
i still needed to make a lot of styling and tweaking in css file to get same results in all browsers.

This way i had not to do this. It is perfect as it is in all browsers, and absolutely same results.

This forum is stupid. Just remove all these dots up there. Forum wont allow to put this as it is.

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

More
14 years 5 months ago #73431 by Andrew Holden
Replied by Andrew Holden on topic line spacing or height in K2content module - Safari
Thanks for the fix, everyone.

To recap, go to: modules/mod_k2_content/tmpl/Default/default.php

and replace the br class, with a div, as demonstrated above.

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

More
14 years 2 months ago #73432 by Simon Olsen
Replied by Simon Olsen on topic line spacing or height in K2content module - Safari
Has this been fixed for anyone using K2 2.3? I've upgraded, checked all the modules are the correct version and I still get the big gaps. It's supposed to be fixed.

I've created a .clr and a .clrmodule class, but this requires changing the php as well, and can throw an entire website out. @dave, I'm feeling your pain!

Please help! Joomlaworks! Anybody!

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


Powered by Kunena Forum