How do I center the footer message in the Bluemarine theme (phptemplate)? Currently it is left aligned.

Thanks,
Mikkel

Comments

spyjournal’s picture

download the themes\bluemarine\style.css file and edit the footer tag to include text-align center as follows
#footer {
background-color: #eee;
padding: 1em;
font-size: 0.8em;
text-align: center;
}

(note you are adding the line text-align: center;)
then upload the css file and overwrite the existing one

netentropy’s picture

Thanks for answering such a simple question. That can be very uncommon here sometimes

Abilnet’s picture

Change the CSS or hard code to the template.. try the following:

1.) find a file "page.tpl.php" in your drupal/themes/bluemarine -directory
2.) open the file with a text editor
3.) scroll down the file and find the following code in the bottom:

....
<div id="footer">
  <?php print $footer_message ?>
</div>
<?php print $closure ?>
</body>
</html>

4.) change it to:

....
<div id="footer">
        <center>
  <?php print $footer_message ?>
        </center>
</div>
<?php print $closure ?>
</body>
</html>

Hope this helps :)

Lostmonkey’s picture

It works like a charm, excellent.

:-) Mikkel

gabriella’s picture

You can look up the css rule in your style.css, it looks something like

#footer {
  background-color: #ddd;
  padding: 1em;
  font-size: 0.8em;
 }

and set text-align:center;

or style it with html in the footer textarea under administer > settings

chiamattt’s picture

Thanks a lot! Drupal is way over my head, but these forums help a lot.