Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In your demo site you have what looks like a block on the front page titled "A word from our clients". I am trying to reproduce this but it has a full white background when I treat it as a block. The code I am using in the block is as follows:
“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim minim veniam, quis nostrud exercitation ullamco laboris nisi.”
John Smith
Company
Company
How do I reproduce this block on your demo site?
Comments
Comment #1
Lightforge88 CreditAttribution: Lightforge88 commentedAnyone? I could really use some advice on this one.
Comment #2
gtsopour CreditAttribution: gtsopour commentedComment #3
gtsopour CreditAttribution: gtsopour commentedHello Lightforge88
You should add the following style rule in style.css file (see 183 line of Corporate Clean theme style.css file).
Just replace the #block-block-2 with your block id.
Could you tell me if your Drupal installation is online, in order to help you directly with the appropriate style rule? I will see your block id through my firebug.
Thanks
/George
Comment #4
Lightforge88 CreditAttribution: Lightforge88 commentedAwesome. That did the trick. Thank you very much for your help.
Comment #5
Lightforge88 CreditAttribution: Lightforge88 commentedComment #6
Lightforge88 CreditAttribution: Lightforge88 commentedIssue fixed.
Comment #8
gtsopour CreditAttribution: gtsopour commentedComment #10
symphonia CreditAttribution: symphonia commentedHello! I've followed your suggestions (adding the rule in style.css), but this is not working for me... I don't know where I am wrong... Please help!! Thank you...
Comment #11
gtsopour CreditAttribution: gtsopour commentedHello symphonia,
is your Drupal installation online in order to give you the right id of your block?
Thanks
/George
Comment #12
symphonia CreditAttribution: symphonia commentedYes, it's online: www.symphoniacomunicazione.com/EUROGEST/
it's the block on the right called "Dicono di noi"
Comment #13
gtsopour CreditAttribution: gtsopour commentedHello symphonia
You should add the following style rule in style.css file
.region-sidebar-first #block-block-9.block .content { background:none; border:none; padding:0; -webkit-box-shadow: none; -moz-box-shadow:none; box-shadow:none; }
Your block id is #block-block-9
Thanks
/George
Comment #14
symphonia CreditAttribution: symphonia commentedI've added that rule, but the block still doesn't work... I have configured the block like this:
Company
the block still have the white background as the other blocks in that region...
Comment #15
gtsopour CreditAttribution: gtsopour commentedHello symphonia
I just checked out your site and in your style.css still exists the following code
.region-sidebar-first #block-block-2.block .content { background:none; border:none; padding:0; -webkit-box-shadow: none; -moz-box-shadow:none; box-shadow:none; }
You should change the above code to
.region-sidebar-first #block-block-9.block .content { background:none; border:none; padding:0; -webkit-box-shadow: none; -moz-box-shadow:none; box-shadow:none; }
Thanks
/George
Comment #16
symphonia CreditAttribution: symphonia commentedOkay, I got it! It's all fine now... I was writing the code in the wrong css file!
Thank you so much!
Comment #17
bazziebas CreditAttribution: bazziebas commentedI can't get this working see http://topsave.mehh.nl i have put
.region-sidebar-first #block-block-3.block .content { background:none; border:none; padding:0; -webkit-box-shadow: none; -moz-box-shadow:none; box-shadow:none; }
.region-sidebar-first #block-block-4.block .content { background:none; border:none; padding:0; -webkit-box-shadow: none; -moz-box-shadow:none; box-shadow:none; }
In the style.css
Comment #18
crispy80 CreditAttribution: crispy80 commentedthanks, that's working for me too!
Comment #19
bgregory CreditAttribution: bgregory commentedHi, I need this too. How do you find out what the block ID is? Thanks
Comment #20
VM CreditAttribution: VM commentedyou can locate the delta by viewing the source of the rendered page.
Comment #21
mckethanrn CreditAttribution: mckethanrn commentedI've attempted to create transparent sidebar block using the directions with no success. Currently, I have no sidebars on the right side since I cannot make them transparent. Is there anything else that I can try?
Site URL: http://3mmemorials.com/
Thanks Robert