SimplePortal

Customization => Custom Coding => Topic started by: AprilD on May 27, 2011, 05:41:06 PM

Title: Centering title & block items
Post by: AprilD on May 27, 2011, 05:41:06 PM
I have a Member user info block that I want to put in a wide center column. Right now the title & contents of the block appear on the way left side of the block. I wanted to use "Style Options" to make the title and block content centered.

How do I do this?
Title: Re: Centering title & block items
Post by: Eudemon on May 27, 2011, 07:59:48 PM
edit ur block
under style options
copy this
Code: [Select]
text-align: centerto both title and body styles
Title: Re: Centering title & block items
Post by: AprilD on May 30, 2011, 04:40:57 PM
That definitely worked for the title.

However, when logged out the user information block is a form for username & password along with a login button and a dropdown menu for how long you want to be logged in.

This form still aligns to the left. How can I get this shifted to the center? Is there another way to use the style options or will I have to alter some code?
Title: Re: Centering title & block items
Post by: Eudemon on May 30, 2011, 05:20:21 PM
that part uses form, so text alignment won't work
try something like "align:center;"
if still doesn't work i guess you have to edit the form page directly
Title: Re: Centering title & block items
Post by: AprilD on May 30, 2011, 09:51:41 PM
Thanks for the suggestion. I tried align:center and still nothing. I'll probably just let it be. Altering code raises my blood pressure.  ;)
SimplePortal 2.3.8 © 2008-2024, SimplePortal