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

Kein Support auf phpBB Styles direkt!
No support directly to phpBB Styles!

Post Reply

Topic author
MicroBoy
Active Member
Posts: 17
Joined: 28. December 2008 22:41
phpBB.de User: MicroBoy
phpBB.com User: MicroBoy

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

Post 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
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

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

Post 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
V.G. archivar
sorry for my bad english

Topic author
MicroBoy
Active Member
Posts: 17
Joined: 28. December 2008 22:41
phpBB.de User: MicroBoy
phpBB.com User: MicroBoy

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

Post by MicroBoy »

The style in the photo is ProSilver Special Edition, but this problem is with Prosilver too. What download link you need?
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

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

Post by archivar »

Change the _block_config.html for your style so that:---->prosilver_se
V.G. archivar
sorry for my bad english

Topic author
MicroBoy
Active Member
Posts: 17
Joined: 28. December 2008 22:41
phpBB.de User: MicroBoy
phpBB.com User: MicroBoy

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

Post 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.
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

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

Post by Marc »

As far as I see it, this only happens in blocks that you created. Maybe you're HTML files are not correct?

Topic author
MicroBoy
Active Member
Posts: 17
Joined: 28. December 2008 22:41
phpBB.de User: MicroBoy
phpBB.com User: MicroBoy

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

Post 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
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

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

Post 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.

Topic author
MicroBoy
Active Member
Posts: 17
Joined: 28. December 2008 22:41
phpBB.de User: MicroBoy
phpBB.com User: MicroBoy

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

Post 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}
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

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

Post 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.

Topic author
MicroBoy
Active Member
Posts: 17
Joined: 28. December 2008 22:41
phpBB.de User: MicroBoy
phpBB.com User: MicroBoy

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

Post 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;
}
Post Reply

Return to “Styles Support”