The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Larger usernames only in messages

View previous topic View next topic Go down

Larger usernames only in messages

Post by Yous000 on Sun May 12 2013, 05:50

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.

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Re: Larger usernames only in messages

Post by sasukekun on Sun May 12 2013, 05:53

before you use what template?? Smile
avatar
sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Re: Larger usernames only in messages

Post by Yous000 on Sun May 12 2013, 06:01

Extreme dark red phpbb2 site: www.runewish.com

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Re: Larger usernames only in messages

Post by sasukekun on Sun May 12 2013, 06:31

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

avatar
sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Re: Larger usernames only in messages

Post by Yous000 on Sun May 12 2013, 06:49

Works thank you so much! :wouhou:

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


Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Re: Larger usernames only in messages

Post by Sanket on Sun May 12 2013, 21:33

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

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

http://webartzforum.com

Back to top Go down

Re: Larger usernames only in messages

Post by E-Mark on Sun May 12 2013, 23:29

avatar
E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

View previous topic View next topic Back to top


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