[support] B7 Theme / Nice Menus drop down centered?

Brett Evanson brettev at gmail.com
Wed Jan 30 21:26:55 UTC 2008


Here's how I got it working. I had to wrap the whole thing in a div I placed
in the page.tpl.php file, and then add the following lines to the css:

#centerme{
	margin-left:auto;
	margin-right:auto;
	width:700px;
}

Hope that saves someone a lot of time someday.

--
Brett Evanson
brettev at gmail.com


-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Earnie Boyd
Sent: Wednesday, January 30, 2008 11:07 AM
To: support at drupal.org
Subject: Re: [support] B7 Theme / Nice Menus drop down centered?

Quoting Brett Evanson <brettev at gmail.com>:

> I'm trying to get nice menus to work on my B7 themed site, and I can't get
> the primary menus to center. I replaced the primary menu call with the
> header region (changed in page.tpl.php) and they show up, but I have
changed
> every place I can think of, and it is still not centering the menus. Any
> theme gurus have an idea what I should be altering? Thanks
>

Placement is controlled via the CSS.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/

-- 
[ Drupal support list | http://lists.drupal.org/ ]



More information about the support mailing list