Oops - another question
2 posters
Page 1 of 1
Oops - another question
I'm using a graphic of my own instead of the defaults for member groups. Unfortunately, the profile jams the graphic together with the group name and looks like hell.
Can I set the profile info to align center and put a space between the member group graphic and the avatar?
Example here
Can I set the profile info to align center and put a space between the member group graphic and the avatar?
Example here
Re: Oops - another question
Kilsek wrote:you can only align center if you have templates enabled. sorry
Care to explain that a little better? The forum is using a template as default.
Re: Oops - another question
I think I know a way. Try to copy / paste the code below into your custom CSS textfield in "Display / Colors / CSS Stylesheet" and see if you are satisfied with the result:
.postdetails {display:block;text-align:center;}
.postdetails img{margin-bottom:4px;}
However, this gives every image within the posters profile a 4 pixel border - if you only want one specific without affecting others you will need to buy template editing as Kilsek noted already. The value "4" can of course be modified as you wish.
.postdetails {display:block;text-align:center;}
.postdetails img{margin-bottom:4px;}
However, this gives every image within the posters profile a 4 pixel border - if you only want one specific without affecting others you will need to buy template editing as Kilsek noted already. The value "4" can of course be modified as you wish.
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: Oops - another question
I'll try it. Thanks.
Well, I tried it. Makes a mess out of the profile itself - skews everything off kilter:) The profile that shows in messages is better, but not complete. The username is still left aligned, while the rest is centered. Strange. But ... better. Not sure if I'll keep it or not - doesn't really look professional.
Well, I tried it. Makes a mess out of the profile itself - skews everything off kilter:) The profile that shows in messages is better, but not complete. The username is still left aligned, while the rest is centered. Strange. But ... better. Not sure if I'll keep it or not - doesn't really look professional.
Last edited by Saurus on Fri Jun 27, 2008 11:03 pm; edited 1 time in total (Reason for editing : After a test)
Re: Oops - another question
My fault, sorry. I always forget that phpBB2 has an extra class for the username. Substitute the entire code I gave you with the one below and everything should be centered:
.postdetails, .name{display:block;text-align:center;}
.postdetails img{margin-bottom:4px;}
.postdetails, .name{display:block;text-align:center;}
.postdetails img{margin-bottom:4px;}
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Re: Oops - another question
Sunny_D wrote:My fault, sorry. I always forget that phpBB2 has an extra class for the username. Substitute the entire code I gave you with the one below and everything should be centered:
.postdetails, .name{display:block;text-align:center;}
.postdetails img{margin-bottom:4px;}
Great. Added this to the code in my other post and all is well:)
Is there a list somewhere of the CSS classes phpBB uses? I could really use that.
Similar topics
» PLAY NOW BUTTON APPEARED! HOW DO I REMOVE IT?
» Newbie has done an OOPS
» oops... were we hacked or what?
» Oops! [the browser] could not find ...
» oops your lost page.
» Newbie has done an OOPS
» oops... were we hacked or what?
» Oops! [the browser] could not find ...
» oops your lost page.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum