Change font size in a single block

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
cwjs
Active Member
Posts: 26
Joined: 19. November 2011 11:25
phpBB.de User: cwjs
phpBB.com User: cwjs

Change font size in a single block

Post by cwjs »

Your Portal Version: 2.0.2
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
Hi,
Sorry the question may be obvious to some but, I would like to increase the size of the font in the recent block only, could someone explain how

Thanks

Clive
User avatar

Kirk
Dev
Posts: 1955
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Change font size in a single block

Post by Kirk »

Hi
Open: root/styles/stylename/template/portal/modules/yourblock

Find:

Code: Select all

{$TITLE}
Replace with:

Code: Select all

<span style="font-size:2em">{$TITLE}</span>
Change at 2em to your specifications.

DIY instructions: Knowledge Base: Changes to forums styles
Gruß Udo

Topic author
cwjs
Active Member
Posts: 26
Joined: 19. November 2011 11:25
phpBB.de User: cwjs
phpBB.com User: cwjs

Re: Change font size in a single block

Post by cwjs »

Hi Kirk,

Thanks for helping, but it only changes the title of the block, I want it to change what is inside the block (recent topics etc)

Regards

Clive
User avatar

Kirk
Dev
Posts: 1955
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Change font size in a single block

Post by Kirk »

Open this Block
Find:

Code: Select all

				<!-- IF .latest_announcements --><td class="row1"><strong>{L_PORTAL_RECENT_ANN}</strong></td><!-- ENDIF -->
				<!-- IF .latest_hot_topics --><td class="row1"><strong>{L_PORTAL_RECENT_HOT_TOPIC}</strong></td><!-- ENDIF -->
				<!-- IF .latest_topics --><td class="row1"><strong>{L_PORTAL_RECENT_TOPIC}</strong></td><!-- ENDIF -->
Add before:
Tip: Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code: Select all

			<span style="font-size:2em">
Add after:
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code: Select all

			</span>
Find 3x :

Code: Select all

<span class="gensmall">
Replace with 3x :

Code: Select all

<span class="gensmall" style="font-size:2em">
Change at 2em to your specifications.
Gruß Udo

Topic author
cwjs
Active Member
Posts: 26
Joined: 19. November 2011 11:25
phpBB.de User: cwjs
phpBB.com User: cwjs

Re: Change font size in a single block

Post by cwjs »

Hi Kirk,

Brilliant !!, thanks for your help.

Regards

Clive
Locked

Return to “Board3 Portal 2.0.x - English Support”