Solved

Drupal CSS Formatting Specific Content Block

Posted on 2010-11-21
2
787 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
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.
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, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

15 Experts available now in Live!

Get 1:1 Help Now