[support] A shot in the dark - was Drupal themes

Bruce Whealton brucewhealton at yahoo.com
Sun Apr 2 16:01:59 UTC 2006


It is clear that all the classes and ids in the style.css file must exist somewhere in the code, be it the xhtml code or the php code.  So, if I have .someclass defined in style.css then that must be applied somewhere in the code (where code can equal simple xthml tags, attributes and etc.)
      I noticed a layout.css is common in the themes also.  I'm looking at argeebee now as it looks simplist to do what I want.  Should I try editing that file also?  
      What I just tried with argeebee by copying example into blackback was a file that somehow is not just all black now but has much more thrown off.  Boxes that I used to be able to see are now gone.  I can't find any more text formatting to change so that it show up again instead of being lost in the black.
  Bruce
  

Larry Garfield <larry at garfieldtech.com> wrote:
  Styles can be defined in a couple of different places. The major ones are:

1) misc/drupal.css - LOTS of stuff here that in all liklihood you won't
need to edit much if at all.
2) themes/mytheme/style.css - The styles specific to that theme.
3) modules/mymodule/module.css - A few modules add their own styles, which
usually are just positional. You shouldn't need to play with them for
now.

Most of what you need is in #2. The overall page design and such will be
defined in page.tpl.php (If it's a phptemplate theme) or in whatever the
page template file is for tha theme. I would recommend looking at

- themes/mytheme/page.tpl.php
- themes/mytheme/style.css
- View the page in a browser and do view-source (or view-formatted-source
with the right Firefox plugin)

Odds are those should cover any color and general layout you need to do.

Cheers.

-- 
Larry Garfield

On Fri, March 31, 2006 12:37 pm, Bruce Whealton said:
> Please advise on what needs to be known or done when changing the look of
> a site. I've been playing with one theme and have a good reason to
> believe that I'm missing something. I started with fancy style and hoping
> that it wouldn't be that difficult as it appears that style.css is the
> file that needs to be editted.
> as the main style sheet.
>
>
> I'm just trying to change the font colors and background colors for
> the main content area. So, in style.css I see any number of labelled
> class and ids. Matching them up with something in the php and later
> xhtml file is not at all clear to me. Where is such and such class or
> id being used?
>
> I'm just taking a shot in the dark, thinking, "well, maybe this style
> (class or id) goes with this text on the web page. Does that make
> sense, what I'm trying to describe about my confusion and the conviction
> that I'm missing some information somehow.
>
> I really didn't want it to be this complicated and it didn't seem like,
> from the feedback I got, that it would be this difficult.
>
> The site in question is
> http://ghwilliamscollaborative.com
> It is obvious that the site has problems with the styles for the site.
> Please advise.
> Bruce
> "Boerland, Bert" wrote:
> -----Original Message-----
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org]On
> Behalf Of Bruce
>
>>They want to see a black background directly around the image/photograph,
>> to bring out the
>> picture in terms of how they like it.
>
> All drupal themes use CSS. It is trival to change the colors. Just look at
> the different CSS files for a theme. Less trivial to make a nice
> colorscheme let alone to come up with a nice theme. Buts just changing the
> background color would be a no brainer.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
> Word Salad Poetry Magazine - join us online at:
> http://wordsalad.net/ and also ->
> Check out the Buffy the Vampire Slayer writing
> Street Exposure - Street Newspaper
> http://wordsalad.net/StreetExposure/
> Bruce Whealton - Webmaster/Designer/publisher/Writer
> http://trianglewebservices.com/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++--
> [ Drupal support list | http://lists.drupal.org/ ]





++++++++++++++++++++++++++++++++++++++++++++++++++++
Word Salad Poetry Magazine - join us online at:
http://wordsalad.net/   and also ->
Check out the Buffy the Vampire Slayer writing 
Street Exposure - Street Newspaper
http://wordsalad.net/StreetExposure/
Bruce Whealton - Webmaster/Designer/publisher/Writer
http://trianglewebservices.com/
++++++++++++++++++++++++++++++++++++++++++++++++++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20060402/e2a8c030/attachment.htm


More information about the support mailing list