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.

Font size for "Author" table and avatar size.

View previous topic View next topic Go down

Solved Font size for "Author" table and avatar size.

Post by roCrox on December 14th 2014, 8:03 pm

Hello,
Can someone help me with quick tweak in font size for "Author" table,
thats row3 in PHBB2, i would like to have it smaller.

Code:
<td class="row3" align="center" valign="middle"><span class="name"><strong><a href="/u1"><span style="color:#97D722"><strong>USERNAME</strong></span></a></strong></span></td>

And the issue in avatar size on "Memberlist" page.
Most of the avatars are the same size (eg. 100x100), but Admins/Mods have custom ones that are a bit wider.
So they appear to be squished compared to other ones.

Code:
<td class="row1" align="center"><div class="avatar mini"><a href="/u1"><img src="http://i39.servimg.com/u/f39/11/77/85/44/skywra10.gif" alt=""></a></div></td>


Thats it, thanks for your time.

roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Font size for "Author" table and avatar size.

Post by Ange Tuteur on December 14th 2014, 10:18 pm

Hello @roCrox,

Add this rule to your stylesheet to adjust the size of the memberlist images :
Display > Colors > CSS stylesheet
Code:
.avatar.mini, .avatar.mini img {
 height:25px;
 width:25px;
}

As for the Author text, are you referring to this ?

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Font size for "Author" table and avatar size.

Post by roCrox on December 15th 2014, 12:28 am

Thanks for your time.

@Ange Tuteur wrote:As for the Author text, are you referring to this ?

Yes, that's the column, I would like to change/lower the font size of usernames.





The Avatar issue is kinda tricky,
the CSS for avatar.mini works for the image size but it looks like that's not the problem in image size.
Its more like the "container" for the image is "10x10px" and "15x10px" image will get distorted.

I would, kind of, need to make the container eg. "20x20px" for this to work - or not, because i don't understand how
this works.

roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Font size for "Author" table and avatar size.

Post by Ange Tuteur on December 15th 2014, 1:22 am

Hmm .. see if this is any better for the memberlist :
Code:
.avatar.mini, .avatar.mini img {
  height:auto;
  max-height:50px;
 
  width:auto;
  max-width:50px;
}

So wait, you just want to change the size of the usernames ? If so, this should work, just change the font-size to what you want.
Code:
.post .name {
  font-size:10px;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Font size for "Author" table and avatar size.

Post by roCrox on December 15th 2014, 2:38 am

Okay i got both things to work!
There was a small issue tho, The difference in avatar images left a white background,
so i just added a background color to that CSS and now its perfect.

Thanks for help!

roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Font size for "Author" table and avatar size.

Post by Ange Tuteur on December 15th 2014, 2:39 am

You're welcome ! ^^

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.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