Keyword

Big gap in category page?

More
10 years 8 months ago - 10 years 8 months ago #124087 by Jacco
Big gap in category page? was created by Jacco
Hi all,

Today I decided to ditch our blogging through the Joomla article manager and go with K2.

I run (run as in content, not in CODE - I only know a little bit about it - but most of the times enough to install plugins) a website for a christian event company and they want to start taking blogging more seriously.

However there is one problem which I can not seem to solve. Between the first 2 posts that are listed on the blog page and all the others is a huge gap (of whitespace).

It seems to have something to do with the line of code below
<div class="clr"></div>
When I look up the div I get the following
/* --- Clearing --- */
.clr {clear:both;height:0;line-height:0;display:block;float:none;padding:0;margin:0;border:none;}
I have tried changing the display:block to display:none (another topic suggested that), it does fix the whitespace issue but for some reason then K2 ignores my whole layout and the page get's messed up.

Anyone have any ideas to fix it? You can see the problem at events4christ.nl/index.php/blog

Thanks!

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #124088 by Yiota
Replied by Yiota on topic Re: Big gap in category page?
You need to make the following changes to solve your issue.

First add a float:left to .leftframe class located in css/main.css file.

Then open the index.php of your template and right before the <div class="content"> closes add a <div class="clr"></div>

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


Powered by Kunena Forum