By marknt15 on
Hi guys,
I need to remove the border of one block from the rest of the right sidebar blocks but I don't know how to do that. I already tried to do it like this:
#sidebar-right div#block-block-14 {
border:1px dashed orange !important;
text-align:center;
}
div#block-block-14 is the drupal generated id of the block:
But I can't remove its border.
Thanks in advance :)
Comments
View the source of one of
View the source of one of your Drupal pages .... see where your css file is in the list of css files included in the HTML page. It seems your rule is being canceled out by other css rules included later in the source.
It really depends on your theme, where you are adding the new rule, and whether the css selector you've chosen is actually the culprit.
It is possible that the border is around the #sidebar-right div#block-block-14 div.content.
Also ... if you want to remove a border ... use border:none; the code you supplied here will give you a 1px dashed orange border.