Center page in screen

drupalDeveloper - February 11, 2008 - 21:28
Project:Artists C01
Version:5.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

This is put together very professionally and I think will be one of my 2 favorites for commercial website development. The other being nokoala with plenty of different looks by copying and renaming the template and customizing it.

A option to center the page and color the page background would be good. I can update the css myself so its not a big deal, but I think this feature will be helpful.

Thank you. Excellent work.

#1

artist.lupein - February 12, 2008 - 10:29

I'm glad you liked the theme.

As for background color, I'll look into it. Somebody also asked for background image configurability.

I did not get the center the page option. Could you, please, elaborate on this?

#2

drupalDeveloper - February 23, 2008 - 17:57

Hi,

Thanks for your follow-up. By centering I mean to say that the page would have an equal margin on the left and right of the content rather than the page starting on the left side.

The css I use is:

body {
margin: 0 auto;
padding: 0;
width: 750px;
text-align: center;
}

"auto" centers the body with equal margins on left and right. I hope this is explained ok.

Thank you.

#3

artist.lupein - February 23, 2008 - 20:23

I'm a bit confused. It is already centered, only I did margin:auto not on body, but on wrapper divs instead. Do you have a site on the internet where I could see this? It would also help if you give me a hint which browser to use.

#4

Janinho71 - May 10, 2009 - 15:06

Hi,

Any progress on the nokoala background colour issue?

Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.