Resize Avatars in Posts and Topics
Liquid Code :: Coding Factory :: Scripting :: Finished scripts :: Graphics
Page 1 of 1 • Share
Resize Avatars in Posts and Topics
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:
### = the number of pixels to be used.
Example:
or use !important to override:
### = the number of pixels to be used.
Example:
or use !important to override:
Samantha.
- 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;}
- 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.
Similar topics
» Reduce the number of YouTube videos shown in topics and posts
» Resize banner on mobile devices
» Auto center and resize embedded media
» increase/decrease font size in topics
» Prevent guests from viewing the topics and / or forums
» Resize banner on mobile devices
» Auto center and resize embedded media
» increase/decrease font size in topics
» Prevent guests from viewing the topics and / or forums
Liquid Code :: Coding Factory :: Scripting :: Finished scripts :: Graphics
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|