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.

Oops - another question

2 posters

Go down

Oops - another question Empty Oops - another question

Post by Saurus Fri Jun 27, 2008 4:09 pm

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
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Oops - another question Empty Re: Oops - another question

Post by Guest Fri Jun 27, 2008 4:15 pm

you can only align center if you have templates enabled. sorry
avatar
Guest
Guest


Back to top Go down

Oops - another question Empty Re: Oops - another question

Post by Saurus Fri Jun 27, 2008 4:16 pm

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.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Oops - another question Empty Re: Oops - another question

Post by zakir321 Fri Jun 27, 2008 7:46 pm

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. Smile
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Oops - another question Empty Re: Oops - another question

Post by Saurus Fri Jun 27, 2008 10:55 pm

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.


Last edited by Saurus on Fri Jun 27, 2008 11:03 pm; edited 1 time in total (Reason for editing : After a test)
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Oops - another question Empty Re: Oops - another question

Post by zakir321 Sat Jun 28, 2008 9:48 am

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;}
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Oops - another question Empty Re: Oops - another question

Post by Saurus Sat Jun 28, 2008 11:21 am

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.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Back to top

- Similar topics

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