The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Avatar hides some part of a post

2 posters

Go down

Solved Avatar hides some part of a post

Post by Tokomi September 19th 2015, 4:44 pm

Technical Details


Forum version : #phpBB3
Position : Administrator
Concerned browser(s) : Mozilla Firefox
Screenshot of problem : https://i.servimg.com/u/f21/19/31/67/88/zrzut_10.png
Who the problem concerns : All members
When the problem appeared : When I changed maximum size of avatar and uploaded an avatar (200x300)
Forum link : http://paktsrebrnegopiora.forumpolish.com

Description of problem

I can't find a way to widen the section with avatar (or shorten the section with post, doesn't really matter).

EDIT: There's the same problem but no solution :< - https://help.forumotion.com/t118429-post-avatar-problem-help


Last edited by Tokomi on September 19th 2015, 7:46 pm; edited 1 time in total
Tokomi
Tokomi
New Member

Female Posts : 3
Reputation : 1
Language : Polish, English

http://paktsrebrnegopiora.forumpolish.com

Back to top Go down

Solved Re: Avatar hides some part of a post

Post by Ange Tuteur September 19th 2015, 5:08 pm

Hi @Tokomi,

You can resize the user avatar in post with a bit of CSS. Go to Admin Panel > Display > Colors > CSS stylesheet

Then paste the following code :
Code:
.postprofile dt img {
  max-width:150px;
  max-height:200px;
}

This will resize images greater than 150x200. You can change the default values however you like.

If any questions let me know. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Avatar hides some part of a post

Post by Tokomi September 19th 2015, 5:30 pm

Hi @Ange Tuteur,

Thanks, but I don't want to resize images, but postprofile section. Is it possible?
Tokomi
Tokomi
New Member

Female Posts : 3
Reputation : 1
Language : Polish, English

http://paktsrebrnegopiora.forumpolish.com

Back to top Go down

Solved Re: Avatar hides some part of a post

Post by Ange Tuteur September 19th 2015, 7:10 pm

Yes, you can use this CSS rule to adjust the profile width :
Code:
.postprofile { width:20% }

When you make this change, you may also need o readjust the message body width. So use this rule if necessary :
Code:
.postbody { width:78% }
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Avatar hides some part of a post

Post by Tokomi September 19th 2015, 7:45 pm

This is what I needed, thanks Very Happy
Tokomi
Tokomi
New Member

Female Posts : 3
Reputation : 1
Language : Polish, English

http://paktsrebrnegopiora.forumpolish.com

Back to top Go down

Solved Re: Avatar hides some part of a post

Post by Ange Tuteur September 19th 2015, 9:07 pm

You're welcome ^^

Topic archived

Have a nice weekend. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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