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.

Resizing on off-site avatars is not working.

View previous topic View next topic Go down

Resizing on off-site avatars is not working.

Post by Alexander Moore on July 27th 2012, 12:45 pm

How can I fix this so that it resizes off-site avatars?

If I can't fix the resizing then I'd at least like to disable off-site avatars, but only as a last resort.

Example of the problem :



I can't find where to fix it from the Avatar section of the CP. It's set to resize images, but off-site avatars don't resize.

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: Resizing on off-site avatars is not working.

Post by lilyheart7 on July 27th 2012, 1:28 pm

Display>>Colors>>CSS
And Add This:
Code:
.postprofile img {
 width: 150px;
}

I'm pretty sure that'll work.


Last edited by lilyheart7 on July 28th 2012, 8:06 pm; edited 1 time in total

lilyheart7
Forumember

Posts : 40
Reputation : 7
Language : English

http://houseofanubis.forumotion.com

Back to top Go down

Re: Resizing on off-site avatars is not working.

Post by Neymar1 on July 27th 2012, 1:46 pm

@lilyheart7 wrote:Display>>Colors>>CSS
And Add This:
Code:
div.postprofile dl dt a img {
 width: 150px;
}

I'm pretty sure that'll work.

Maybe set a max-width and a max-height?

Neymar1
Forumember

Male Posts : 406
Reputation : 27
Language : HTML, CSS, and a bit of JavaScript
Location : Scotland

http://www.simplyfifa.com

Back to top Go down

Re: Resizing on off-site avatars is not working.

Post by lilyheart7 on July 27th 2012, 2:43 pm

Oh; I didn' think about that, then you would just do:
Code:
.postprofile img {
max-width: 150px;
}
Anything more than 150px wide will be resized and anything less stays the same. Thanks Neymar1.

lilyheart7
Forumember

Posts : 40
Reputation : 7
Language : English

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