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
Solved

Drupal CSS Formatting Specific Content Block

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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