3 replies [Last post]
AlpesInfo.com's picture
Offline
Joined: 03/21/2010

Hi
I would like to make some changes to the header on my smooth sailing installation.

first I would like to remove the 'search this site' box and magnifying glass, and make the header-wrapper div only about 15px high, just enough to show the nice shadow effect that runs along its bottom edge.

then i would like to make the header-wrapper-b div higher, about 130px as opposed to the 100 it is now.

then i would like to replace the user-bar div with my language switcher from the i18n module, which is a block. So i guess i somehow need to make this div into a block region, is this possible.

and then finally i would like to have the logo as a clickable link to the home page.

If you could give me some tips on how to go about these changes that would be great.

Thanks for a fantastic theme

Phil

AlpesInfo.com's picture
Offline
Joined: 03/21/2010

ok, so i answered the first one, i just turn search off from the theme settings.

and for the second i think as well as changing the height of the div i need to create a new background image that is a bit taller

still need help on the other points if possible

AlpesInfo.com's picture
Offline
Joined: 03/21/2010

So I have managed all but one of those changes. I would still like to be able to stick a block in place of the user login section. any tips on how to do that?

Rob D.'s picture
Offline
Joined: 04/09/2008

You'll first have to open the file smooth.info in the theme's root, and define a new region around line 37:

regions[newregion] = New Region Name

Then you should clear your cache at Administer > Site Configuration > Performance.

After that, you'll need to edit page.tpl.php - on approx. line 138 you'll see:

<?php print custom_login_form() ?>

You would then change this to:

<?php print $newregion ?>

It's like you'll want to wrap this in a div as well, and using CSS float the div to the right. Some padding/margins may need to be adjusted as well.

Support hours: 9AM - 5PM EST, Mon - Fri

Follow us on: