Solved

Drupal CSS Formatting Specific Content Block

Posted on 2010-11-21
2
788 Views
Last Modified: 2012-05-10
I'm trying to add the necessary css to format a specific "content" block in Drupal 6. I've managed to get the .title changed for the block but I can get the div container background color to change.  I don't want it to be gray. I would like background:none;

My block id is: block-block-24

So far, this works to change the title:
#block-block-24 .title {background:none;}
#block-block-24 .title h3 { color:#000000; background:none; font-size:30px;}

The page is here:
http://www.correctchecks.com/drupal  (Scroll to the bottom. The block is "Testimonials". I'm trying to get rid of the background (gray) there.

Looking at Firebug there's always an extra "div.block" that's changing the background to #F8F8F8

How can format this block to get rid of the background #F8F8F8?

Thank you.



0
Comment
Question by:greddin
2 Comments
 
LVL 17

Accepted Solution

by:
Thomas4019 earned 500 total points
ID: 34185521
I would look into the CSS important keyboard, http://webdesign.about.com/od/css/f/blcssfaqimportn.htm

You shouldn't need much more than this.
#block-block-24 {

  background:none;

}

Open in new window

0
 

Author Closing Comment

by:greddin
ID: 34186201
Thanks, putting it in the #block-block-24 root worked.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now