Quote:
Originally Posted by Disco_Stu
Looks like you may have a line break in there somewhere.
Check the templates
forumhome_forumbit_level1_post
forumhome_forumbit_level2_post
and scan for {vb:rawphrase viewing}
See if you have any line breaks like <br> before {vb:rawphrase viewing}
It could also be a </span> or </div> ending tag in the wrong place. There's a number of things that could be causing this.
|
Thanks for tips I checked and there are no line breaks before that phrase.
I have category icon after status icon enabled so this is the part of the code that's responsible for that:
Code:
<div class="forumdata">
<div class="datacontainer">
<vb:if condition="$vbulletin->options['forumiconimg_location'] == '0'">
<!-- category icon after status icon -->
<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" alt="{vb:raw forum.title}" style="float:left; <vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};<vb:else />margin-right:4px;</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_size'] == '1'">width:{vb:raw forum.forumiconimg_forum_width}px; height:{vb:raw forum.forumiconimg_forum_height}px;<vb:else />width:{vb:raw vboptions.forumiconimg_width}px; height:{vb:raw vboptions.forumiconimg_height}px;</vb:if>;" />
<div>
<h2 style="font-weight:bold; font-size:13px;"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
<vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if>
</div>
<vb:elseif condition="$vbulletin->options['forumiconimg_location'] == '1'" />
In default style we have:
Code:
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
When I changed that <h2 style="font-weight:bold; font-size:13px;"> to <h2 class="forumtitle"> I got it almost working because then it was like this:
Forum_name Browsing Forum_description
I couldn't get that forum_description to a new line. So after that h2 style=forumtitle I did something like this:
<vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if>
Changed to this:
<vb:if condition="$show['forumdescription']"><br><br><p>{vb:raw forum.description}</p></vb:if>
It kinda works - description is in next line but it doesn't look good. I had to add <br> 2 times because if there was only one it didn't worked. It was little lower but not in a completely new line. When there are two <br> it is in new line but there is also a lot of space between forum title and forum description. It doesn't look that good.
Now it looks like this:
Code:
<div>
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
<vb:if condition="$show['forumdescription']"><br><br><p>{vb:raw forum.description}</p></vb:if>
</div>
Any ideas how to make it right?