Page 1 of 1

The title in left/right columns is showed in two lines?

Posted: 24. November 2010 17:54
by MicroBoy
As you can see in the picture above, the text in Left/Right is showed in two lines, when it has space to just be showed in one line. I use the style for left/right columns as for center columns. So I use "$C_BLOCK_H_X" instead of "$LR_BLOCK_H_X". What I should change that the title will be showed in just one line.

Image

p.s. I accidentally posted in "Modification Requests" really sorry, I hope a moderator will move to Style Support:S

Re: The title in left/right columns is showed in two lines?

Posted: 24. November 2010 18:53
by archivar
Hi,
Is this an original style?
Then give me a download link.
We only give support for installation of the portal in a style original!
--->Board3.de - Rules | We ask for your attention

Re: The title in left/right columns is showed in two lines?

Posted: 24. November 2010 21:46
by MicroBoy
The style in the photo is ProSilver Special Edition, but this problem is with Prosilver too. What download link you need?

Re: The title in left/right columns is showed in two lines?

Posted: 24. November 2010 22:11
by archivar
Change the _block_config.html for your style so that:---->prosilver_se

Re: The title in left/right columns is showed in two lines?

Posted: 24. November 2010 22:36
by MicroBoy
As I mentioned at the last post, this problem is with original ProSilver too, I changed the size of the font, I made them bigger, but I do not think that this can be the problem, because as you can see there is a lot space for the other words.

Re: The title in left/right columns is showed in two lines?

Posted: 24. November 2010 23:22
by Marc
As far as I see it, this only happens in blocks that you created. Maybe you're HTML files are not correct?

Re: The title in left/right columns is showed in two lines?

Posted: 24. November 2010 23:40
by MicroBoy
I did not created this blocks by myself I just changed the borders, where was $LR_BLOCK_H_X I changed to $C_BLOCK_H_X because I wanted that right/left blocks to be showed as center blogs (the borders).

I changed this to Left/Right blocks:

Code: Select all

$LR_BLOCK_H_L to $C_BLOCK_H_L
$LR_BLOCK_H_R to $C_BLOCK_H_R
$LR_BLOCK_F_L to $C_BLOCK_F_L
$LR_BLOCK_F_R to $C_BLOCK_F_R

Re: The title in left/right columns is showed in two lines?

Posted: 25. November 2010 13:43
by Marc
Well those blocks are not standard blocks of Board3 Portal. If you don't attach the HTML files of those blocks, I don't think we can help you with this.

Re: The title in left/right columns is showed in two lines?

Posted: 25. November 2010 20:12
by MicroBoy
HTML Code of the block that is first in the photo:

Code: Select all

<!--version $Id: recent_posts.html 521 2009-08-26 20:59:19Z christian_n $ //-->
<!-- BEGIN recent_posts -->
<!-- IF recent_posts.S_NO_TOPICS -->
{$C_BLOCK_H_L}<dt>{L_RECENT_POSTS}</dt>{$C_BLOCK_H_R}
	<div class="post bg2" style="margin-bottom: 0px">
		<div class="inner"><span class="portal-corners-top-inner"></span>
			<span style="text-align: center;"><strong>{L_NO_RPOSTS}</strong></span>
		<span class="portal-corners-bottom-inner"></span></div>
	</div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ELSE  -->
<!-- IF recent_posts.S_FIRST_ROW  -->
<a name="n"></a>
{$C_BLOCK_H_L}
	<dt>{L_RECENT_POSTS}</dt>
{$C_BLOCK_H_R}
<ul class="topiclist bg1">
<!-- ENDIF -->
	<li>
		<dl>
		<dd style="border-left:2px">
			<p style="margin: 0 2px 0 2px;">
			<!-- IF recent_posts.S_UNREAD_INFO --><a href="{recent_posts.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{recent_posts.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --><a href="{recent_posts.U_LAST_COMMENTS}" title="{recent_posts.TITLE}" class="topictitle">{recent_posts.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> &bull; <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->
				{L_POST_BY_AUTHOR} {recent_posts.USERNAME_FULL_LAST} - {recent_posts.LAST_POST_TIME}
			</p>
		</dd>
		</dl></li>
<!-- IF recent_posts.S_LAST_ROW -->
	</ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->
<!-- ENDIF -->
<!-- END recent_posts -->

HTML Code of the block that is the last in the photo:

Code: Select all

<!--version $Id: whois_online.html 521 2009-08-26 20:59:19Z christian_n $ //-->
{$C_BLOCK_H_L}<dt><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></dt>{$C_BLOCK_H_R}
	<ul class="topiclist bg1">
		<li><dl>
			<dd style="border-left:0px">
				<p style="margin: 0 5px 0 5px;">{LOGGED_IN_USER_LIST}
				<!-- IF LEGEND --><br /><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
			</dd>
		</dl></li>
	</ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}

Re: The title in left/right columns is showed in two lines?

Posted: 25. November 2010 21:55
by Marc
Ok, could you try undoing the following edits:
MicroBoy wrote:I did not created this blocks by myself I just changed the borders, where was $LR_BLOCK_H_X I changed to $C_BLOCK_H_X because I wanted that right/left blocks to be showed as center blogs (the borders).

I changed this to Left/Right blocks:

Code: Select all

$LR_BLOCK_H_L to $C_BLOCK_H_L
$LR_BLOCK_H_R to $C_BLOCK_H_R
$LR_BLOCK_F_L to $C_BLOCK_F_L
$LR_BLOCK_F_R to $C_BLOCK_F_R
Afterwards use the block config archivar posted.

Re: The title in left/right columns is showed in two lines?

Posted: 25. November 2010 23:13
by MicroBoy
Thanks for help, I fixed the problem, it was caused by this width in CSS:

Code: Select all

ul.topiclist dt {
	display: block;
	float: left;
	width: 50%;
	font-size: 1.1em;
	padding-left: 5px;
	padding-right: 5px;
}