Zen helped me center logo

Events happening in the community are now at Drupal community events on www.drupal.org.
skyturtle's picture

I'm finding it harder to figure out where to post this tidbit than to solve the original problem. But, I felt too guilty seeing 38 pages of search results for "center logo". Anyway, I was finally able to center my logo in my Zen sub-theme by adding "float: none" and "text-align: center" to the #logo part of my renamed css.

I'd post it somewhere else, but I have no idea if this works for Garland sub-themes etc, and I also don't know if its the "right" way to do it. Thanks again, Zen is awesome.

Comments

Zen and things subthemed

tonytharp.com's picture

I'm having a heck of a time figuring out the forum structure on Drupal and don't yet have a clue if there is a group set up specifically for Zen users as opposed to programers. By that I mean a group wiling to tolerate new Drupal and new Zen users. I'm not at all sure I am setting up our site correctly at PamlicoToday.Com. We are creating the site directly off Zen and did not create a "subtheme" as many of you seem to have done. Was that a huge mistake? Why? Should I start over? Can I color or shade sidebars without some coding knowledge -- and I have no idea (to give you an example) what php is or does. Anyway, if anyone knows of a site that might help with these kinds of questions, I'd like to know about it. Thanks, tony

We are creating the site

Garrett Albright's picture

We are creating the site directly off Zen and did not create a "subtheme" as many of you seem to have done. Was that a huge mistake? Why? Should I start over?

Well, if you intend to modify the look of your site significantly, it's better that you start with a proper subtheme instead of Zen itself (or Zen Classic, as you seem to be using). But it looks like you're just using the theme as is. That's not really what Zen is intended for, but if it works for you, go for it.

Can I color or shade sidebars without some coding knowledge -- and I have no idea (to give you an example) what php is or does.

Not really, though you don't need to know PHP to change colors - you need to know CSS, which has its own quirks but isn't nearly as dangerous or difficult as PHP.

If you don't have the knowledge or time to learn how to theme Drupal yourself (and knowledge is time), I strongly recommend you either consider hiring an experienced themer, or consider using one of the pre-built free or commercial Drupal themes instead of trying to start from scratch with Zen.

Logo centering instructions didn't work

Tech-2's picture

Hi,
I tried the directions posted to center the logo in my own Zen sub-theme. I'm using 7.X.3.1, I believe, though had little luck from what I was told. I'm using the liquid layout. Do I need to further customize the theme to do what I want, or perhaps use a static layout?