Center rank name under avatar ?

For support and discussion related to templates and themes in phpBB 3.3.
Post Reply
Liam Davis
Registered User
Posts: 28
Joined: Sun Feb 02, 2020 5:36 am

Center rank name under avatar ?

Post by Liam Davis »

I would like to center the rank name under avatars prosilver on 3.3 (view forum topic_body)
Liam Davis
Registered User
Posts: 28
Joined: Sun Feb 02, 2020 5:36 am

Re: Center rank name under avatar ?

Post by Liam Davis »

Ok I figured it out but im stuck on centering the avatar. Anyone help please ?
User avatar
eeji
Jr. Style Validator
Posts: 1324
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Center rank name under avatar ?

Post by eeji »

on line 734 of content.css change:

Code: Select all

.postprofile .avatar {
	display: block;
	float: left;
	max-width: 100%;
}
to:

Code: Select all

.postprofile .avatar {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}
My phpBB styles: phpbbstyles.oo.gd
My board: iansvivarium.com
Liam Davis
Registered User
Posts: 28
Joined: Sun Feb 02, 2020 5:36 am

Re: Center rank name under avatar ?

Post by Liam Davis »

Thank you worked like a charm.
Post Reply

Return to “[3.3.x] Styles Support & Discussion”