● Increase The Size Of The SubForum Font

Tue Jan 09, 2018 7:12 pm
Blabbing Noob
98 Posts
Reputation: 460.1
hi

is there anyway i can increase the size of the subforum font
i have looked but cant see anything anywere to change the font size

Expand


any ideas please let me know


Please login to see this link
Get registered or Log in
Tue Jan 09, 2018 9:10 pm
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
yes. It will require you to just a few lines of code in 2 files.

First, Open up;
public_html/themes/Your_Theme/style/style.css

FIND:

Code: [ Select all ]

.genmed {


The full code should looks something like this:

Code: [ Select all ]

.genmed { font-size : 11px; }


But, with each theme being different, I can't guarantee that it will be exact. But the next step will go after the full line, not just the first part I showed.

NEW LINE AFTER ADD:

Code: [ Select all ]

.genmedsub { font-size: 14px; }


Set the font size that you want there.

SAVE & CLOSE


Open:
public_html/themes/SimpleBlackV2/forums/index_body.tpl


FIND:

Code: [ Select all ]

{catrow.forumrow.sub.FORUM_NAME}


REPLACE WITH:

Code: [ Select all ]

<span class="genmedsub">{catrow.forumrow.sub.FORUM_NAME}</span>


SAVE & CLOSE

now all you need to do is clear your sites and browsers cache and you should be all set.


Expand
Tue Jan 09, 2018 11:35 pm
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
thanks corpse

i just changed these and it works on all of my multi themes

.genmed { font-size : 10px; } //subforum text
.gensmall { font-size : 10px; } // username

to

.genmed { font-size : 13px; } //subforum text
.gensmall { font-size : 13px; } // username


Expand


thanks its the only thing that forum users have been asking about for a while to be resized

thank you corpse


 
Wed Jan 10, 2018 9:45 am
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
The reason I didn't have you change that was because I don't know where else in the theme that would affect things, thats why I put it so you would create a new class and do it the way I said. Either way works.


 
Wed Jan 10, 2018 9:50 am
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
yes i will keep an eye on it see if it affects other thing if i does i will switch it to your way

thank you again YOUR THE MAN lachen


 
Wed Jan 10, 2018 2:22 pm
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
n/p


 
Wed Feb 14, 2018 3:10 am
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
just an update

i had to follow your instructions corpse

when i went to view recent posts the larger text pushed the blocks outside the theme boundaries

didnt realise untill i went to check recent posts for the first time since i did code changes

ill remember check that next time


 
Wed Feb 14, 2018 11:24 am
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
ah, n/p, it happens.


 
Forums ©