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.

Avatar CSS

View previous topic View next topic Go down

Solved Avatar CSS

Post by Kaizer Lee on October 29th 2013, 6:21 am

Code:
.res img {
  width:150px !important;
  height: 150px !important;
}
Yo, does that thing not work anymore? Doesn't work on my forum anymore whereas before the editor update, it did, even for offline uploaded avatar.

Javascript doesn't override CSS in anyway, just in case someone says anything about it.

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

Solved Re: Avatar CSS

Post by Ange Tuteur on October 29th 2013, 6:38 am

The selectors in the code above aren't present. Perhaps they were present in one of your templates, but this should resize profile images:
Code:
.poster-profile img{
max-width: 150px !important;
max-height: 150px !important;
}
Its best to use max-height/width, using just width and height will resize the image to those dimensions. Max instead resizes images larger than the property value.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Avatar CSS

Post by Kaizer Lee on October 29th 2013, 9:18 am

Wow, thanks mate, it works. This topic's solved Wink.

Btw, sorry but I suck at reading selectors xD

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

Solved Re: Avatar CSS

Post by SLGray on October 29th 2013, 7:27 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

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