The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Larger usernames only in messages

4 posters

Go down

Larger usernames only in messages Empty Larger usernames only in messages

Post by Yous000 May 12th 2013, 4:50 am

Earlier today Sanket gave me this code to make all usernames display bigger on my forum

Code:
 a span strong {
    font-size: 15px !important;
}

How can I change it so that the usernames only appear bigger in messages. I only want them bigger in messages everywhere should just be the default 11pt.

Thanks for all who post.
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Larger usernames only in messages Empty Re: Larger usernames only in messages

Post by sasukekun May 12th 2013, 4:53 am

before you use what template?? Smile
sasukekun
sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Larger usernames only in messages Empty Re: Larger usernames only in messages

Post by Yous000 May 12th 2013, 5:01 am

Extreme dark red phpbb2 site: www.runewish.com
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Larger usernames only in messages Empty Re: Larger usernames only in messages

Post by sasukekun May 12th 2013, 5:31 am

ok first youmust go to viewtopic_body

find this part
Code:
{postrow.displayed.POSTER_NAME}

and replace with this one
Code:
<div class="id-size">{postrow.displayed.POSTER_NAME}</div>

and go to your css
Code:
.id-size{
font-size:15px;
}

tadaaaa bye

sasukekun
sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Larger usernames only in messages Empty Re: Larger usernames only in messages

Post by Yous000 May 12th 2013, 5:49 am

Works thank you so much! :wouhou:

Edit: There is a really big space between the user ranks and the actual names though :O

Larger usernames only in messages 130511235023
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Larger usernames only in messages Empty Re: Larger usernames only in messages

Post by Sanket May 12th 2013, 8:33 pm

Did you remove the css codes i gave you?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Larger usernames only in messages Empty Re: Larger usernames only in messages

Post by E-Mark May 12th 2013, 10:29 pm

E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum