Solved

Drupal CSS Formatting Specific Content Block

Posted on 2010-11-21
2
797 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
A big percent of today’s marketing activity is performed through the online environment. The marketing strategies that have existed a decade ago no longer relate to what’s happening today. We’re currently facing a revolutionary era, called the digit…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

695 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