Resize Avatars in Posts and Topics

View previous topic View next topic Go down

Resize Avatars in Posts and Topics

Post by Guest on 1/23/2015, 8:04 pm


Guest
Guest


To automatically resize user avatars to dimensions generally usable in the topics and posts, use this little bit of CSS to force that:


phpbb2

Code:
.post .postdetails.poster-profile a img {max-height:###px;max-width:###px;}

### = the number of pixels to be used.

Example:

Code:
.post .postdetails.poster-profile a img {max-height:188px;max-width:189px;}

or use !important to override:

Code:
.post .postdetails.poster-profile a img {max-height:188px!important;max-width:189px!important;}



phpbb3

Code:
.postprofile dt img {max-height:###px;max-width:###px;}

### = the number of pixels to be used.

Example:

Code:
.postprofile dt img {max-height:188px;max-width:189px;}

or use !important to override:

Code:
.postprofile dt img {max-height:188px!important;max-width:189px!important;}

Samantha.

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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