I use adv forum now for 2 days on my site, but can't get rid of a big white space on top of every forum item. it looks like it has something to do with the left side because it gets the height of that.

Look at it here

Removing my right sidebar doesn't help and it's the same on big and small screens.

Does anyone have a solution?
Thanks.

Comments

vm’s picture

Category: bug » support
Priority: Critical » Normal

not a bug! developer is seperating the original topic from comments from the looks of it which is perfectly fine.

view the source code:

there is a <br/> you will want to seek out in the template and remove

Aquabert’s picture

Status: Fixed » Active

Well the <br/> is not the problem..

If anyone know what is causing this problem please shout..
It would help a lot of people because I'm not the only one

thanks anyway misunderstood

vm’s picture

I typed in the template not in template.php, To avoid confusion I should have typed, theme.

advanced forum comes with tpl.php files which I assume you are using ?

open the adv-forum-post.tpl.php file
scroll to the bottom of the file and you will find the <br/>

vm’s picture

Status: Active » Fixed
vm’s picture

Status: Active » Postponed (maintainer needs more info)

I don't see how that isn't the problem. To help you with this I threw adv_formum on a test site, removing that line break and the spacing is gone.

Aquabert’s picture

Well look at my site and you see that the forum still looks the same without the break..

I'm really happy that you want to help but the <br/> isn't the problem.

Aquabert’s picture

Status: Postponed (maintainer needs more info) » Active
vm’s picture

the spacing is now the same between all posts when I view it. Are you stating that you want all spacing gone ?

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

I think he's talking about the space above the actual content of the post. I had that problem on my site and it was because I had a clear on .content which screwed up the divs. See if you have a stray clearer in your CSS.

Michelle

Max_Headroom’s picture

Status: Postponed (maintainer needs more info) » Fixed

Confirmed.
Look at line 373 in your themes style.css. Remove the clear: both;
(tip: if you have not already, get Firebug for FF and use it to test and debug your styling.)

Aquabert’s picture

Status: Fixed » Active

Thanks a lot for your help..

For FireFox that whas the problem. But IE is just the same :(
Michelle how did you remove the big space for explorer?

michelle’s picture

Status: Active » Fixed

As discussed in the other issue, I don't use IE 6.

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

james_w’s picture

Status: Closed (fixed) » Fixed

I had the same problem with IE 6 and found a fix that works for me.

Edit: themes/yourtheme/advforum/advf-forum-post.tpl.php

Remove the following lines

(61-63):

      <div class="posttitle">
        <?php print $title ?>
      </div>

AND

(88-90):

<?php if ($top_post) { ?>
  <br />
<?php } ?>

This worked for me. It also removed the individual comment subjects that I hated anyway. If you want those subject lines for each comment, then this fix isn't for you.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.