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

Bruce Whealton brucewhealton at yahoo.com
Sun Apr 2 18:14:22 UTC 2006


Ok, maybe I do need a bit of a brushup or more knowledge on css.  If I wanted to have all images not have borders, what setting is that in the css?  I'm seeing now on a page displaying an image the background is black around the image except for a white border that would only be visible on the right against the black background.
   
  Also, if I was to change that image's style class, is class = "image preview" equal to 
  .image .preview in the css style sheet or is it ->
  .image preview
  How does css handle spaces in this case?
  This was good in that it was precise and not just a change of every background color everywhere.  If .node .content was used in every theme and the same way that would be great.
  Thanks,
  Bruce
   
  Bruce Whealton <brucewhealton at yahoo.com> wrote:
    That's pretty close to getting there.  It only effected the node content area.  It didn't effect the Submit Story page.  How did you go about finding the particular class or in this case classes that needed to be changed?  From the view of source?
  Thanks,
  Bruce

Jason Flatt <drupal at oadae.net> wrote:
  On Sunday 02 April 2006 09:22 am, Bruce Whealton wrote:
> Hi,
> Can anyone recommend a very easy to use theme for customizing. 
> Basically I just need to get a black background and 2 or 3 columns. It
> seems like three columns works better than 2 even when I only need 2
> columns in my display. Using a 2 column theme will often push content down
> to the bottom of the page when you want it up top. I looked a argeebee as I
> stated to be easy but it sure isn't working out as easy as I had so hoped
> it would. They want a front page which will show the images from their
> projects. So, I started with a home page being one of the gallery pages.
> It seems like the book feature might work better as I can create columns
> across the page. Anyway, an easy theme to just get the main content area
> black. No borders aroudn blocks or anything. Just something that would be
> very easy to customize in this way, like changing the background of the
> main content area without touching the rest. Still, things are not always
> easy even with that as the main content area, includes fields where one
> must enter content into the field and it's not easy to figure out which
> style class, or id is controlling text on a form page. bruce
>

You could try adding something like the following to about line 27 of the 
styles.css file:
.node .content
{background-color: #000;}

That will make the background of only the node's content black (not the 
"submitted by", etc.).

This will make the entire node's background black:
.node
{background-color: #000;}

Both of those will affect all nodes, however, not just images.

There may be a better class or id to use, but I'm not at all familiar w/the 
gallery, and there wasn't anything obvious to my in my cursory glance.

-- 
Jason Flatt
http://www.oadae.net/
Father of Six: http://www.flattfamily.com/ (Joseph, 13; Cramer, 11; Travis, 
9; Angela; Harry, 5; and William, 12:04 am, 12-29-2005)
Linux User: http://www.sourcemage.org/
Drupal Fanatic: http://drupal.org/
-- 
[ 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/
++++++++++++++++++++++++++++++++++++++++++++++++++++


++++++++++++++++++++++++++++++++++++++++++++++++++++
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/18d27b00/attachment.htm


More information about the support mailing list