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

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Re: Larger usernames only in messages

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

before you use what template?? Smile

sasukekun
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Re: Larger usernames only in messages

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

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 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
Forumember

Posts : 253
Reputation : 6
Language : English

Back to top Go down

Re: Larger usernames only in messages

Post by Yous000 on 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


Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Re: Larger usernames only in messages

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

Did you remove the css codes i gave you?

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: Larger usernames only in messages

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


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