Hi, I searched: logo "and" center, but got no hits on both words. I am setting up my website and simply want to center the logo. I am using Marvin and got rid of the backgroud image with css. Now I want to center the logo that is stuck to the left side. I spent an hour in the fourms search also and could not find this info. I spent hours searching the css sheets with no luck. Thanks for any info anyone can provide, I will take guesses at this point :) Rick WhatonMars.com
On Feb 15, 2005, at 1:49 AM, Rick wrote:
Hi, I searched: logo "and" center, but got no hits on both words. I am setting up my website and simply want to center the logo. I am using Marvin and got rid of the backgroud image with css. Now I want to center the logo that is stuck to the left side. I spent an hour in the fourms search also and could not find this info. I spent hours searching the css sheets with no luck. Thanks for any info anyone can provide, I will take guesses at this point :) Rick WhatonMars.com -- [ Drupal support list | http://lists.drupal.org/ ]
if you are using the chameleon/marvin theme, you can put a custom image in a <div align="center"> block and put the whole thing in the primary links. Image maps work as well.
Andrew
------------------------------------------------- Andrew Michael Cohill, Ph.D. Information architect
Design Nine provides technology master planning services, community network planning, technology audits, and telecommunications project management to communities and organizations trying to make wise technology and telecommunications expenditures. Design Nine represents the interests of the organization or community, rather than the interests of vendors.
Visit the Design Nine News page for frequently updated news and commentary on technology issues. http://www.designnine.com/news/
Design Nine, Inc. http://www.designnine.com/ Blacksburg, Virginia Voice: 540.951.4400 Cell: 540.320.4406
On Tue, 15 Feb 2005 01:49:25 -0500, Rick rick@whatonmars.com wrote:
Hi, I searched: logo "and" center, but got no hits on both words. I am setting up my website and simply want to center the logo. I am using Marvin and got rid of the backgroud image with css. Now I want to center the logo that is stuck to the left side. I spent an hour in the fourms search also and could not find this info. I spent hours searching the css sheets with no luck. Thanks for any info anyone can provide, I will take guesses at this point :) Rick WhatonMars.com -- [ Drupal support list | http://lists.drupal.org/ ]
This is really just an HTML question. Look at the beginning of the marvinclassic.theme file (or the appropriate theme file for your theme) and you'll see the code that generated the page header - table def for the header are included below from marvinclassic. Edit it to produce the html you need.
$output .= "<table border="0" style="width: 100%" cellpadding="8" cellspacing="0">\n"; $output .= " <tr>\n"; $output .= " <td>"; if ($logo = theme_get_setting('logo')) { $output .= "<a href="./" title="Home"><img src="$logo" alt="Home" /></a>"; } $output .= "</td>\n"; $output .= " <td> " . theme_get_setting('secondary_links') ."</td>\n"; $output .= " </tr>\n"; $output .= " <tr>\n"; $output .= " <td colspan="2" style="text-align: right;">". theme_get_setting('primary_links') ."</td>\n"; $output .= " </tr>\n"; $output .= "</table>\n";