Modification of the footer

TheProf - December 11, 2008 - 23:29
Project:Amor Azul
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

Thank you for taking the time to review my issue.

I would like to modify the footer of the theme. I have block I would like to centre at the bottom in the footer area. I would also like to move the "powered by and theme by" text to the "About" page our site will have. I was able to locate and remove the specific text for powered by but it has not resulted in the footer being centered. How would I go about doing that?

Thank you.

#1

dhaven - December 12, 2008 - 00:39

Hi, a code in your template like this should do:

<div style="float:center;">your footer text here</div>

#2

TheProf - December 12, 2008 - 23:48

Hello dhaven,

Thank you for your response. I have tried your line of code in my page.tpl.php and I found that it did allow me to centre the text, but to only centre it on the left half of the screen. If you look at the theme, you'll see there is a big blue area at the top, then the theme under that is split into the content area taking up 2/3rds on the left and 1/3rd for the blocks on the right. Your line of code allowed it to centre along the left 2/3rds. How can I get it to centre across the entire width of the theme (IE: across the top blue area)?

Thanks.

#3

dhaven - December 16, 2008 - 08:03

Hiya, missed your post. You would need to find the next row in the page.tpl and put the code in there. The columns would prob be something like main and sidebars. look for </div> etc

If your not sure you could use firefox's web developers tools or paste the code into something like dreamweaver and work out what is what. Once you understand the page setup you will wonder what the fuss was about!

#4

cmswebsiteservices - January 13, 2009 - 08:46

There's a region with footer links. Make sure you do not have any blocks there. Once you have done that, go to style.css file. There is a class 'footer-message'. In that change the following:

width: 100%;
text-align: centre;

This should help.

 
 

Drupal is a registered trademark of Dries Buytaert.