Centering header image on block

mizengineer - August 15, 2008 - 20:45
Project:Header image
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

Didn't find a CSS file with this module so I went to my theme CSS file and added

.block block-headerimage; {
float: center;
}

but this didn't work. I read your theming instructions and looked at the code but didn't see anything there remotely related to positioning. Maybe I'm wrong ... Sorry I'm a noob with CSS and the Drupal theming sytem. Any help would be greatly appreciated!

#1

Sutharsan - August 24, 2008 - 14:24
Status:active» fixed

try text-align: center;
My advice: buy a book on CSS (I like Eric Meyer's books).

#2

mizengineer - August 25, 2008 - 05:32

Sorry, I also tried the text-align rule - didn't work -- (realized there was an extra ";" there, too, so fixed it; also that there's no float: center rule - duh! I'm beginning to use the w3schools site in a big way.

Wonder if it's my theme ...

Will use Firebug to see how to fix this. I have Michael Bowers Pro CSS book but will check out Eric Meyers. Thanks for the rec!

#3

Anonymous (not verified) - September 11, 2008 - 05:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.