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.
By The Linguist on
I added a custom block to include a banner ad on right sidebar, but it has a border around it that I do not want. How do I remove the border? You can see what I mean here. When my new domain propogates the site will be moved to http://eslhost.com
Comments
css
#block-block-1 {
border: none;
}
--
Bjorn | choirgeek.com
which stylesheet
I added it to two different stylesheets but it didn't work. Also is there someway to have this across all themes. I'm thinking sometime in the future I might change themes and it would be nice to not have to re-do this or other style hacks.
impracticle
Theme's are designed to be independant.
view source
themes/chameleon/marvin/style.css
-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
I added the code to that
I added the code to that style sheet and I still have a border.
Border part of image
The black border is part of the image. You would need to modify the image to remve the border.
Actually that's wrong. I
Actually that's wrong. I changed themes and there is no longer a border. Problem resolved.
I tried this today and the
I tried this today and the border dosen't show up any longer but I still have a light grey line on top of the content. It almost looks like it was the line that seperated the title from the content?? I would try and make it dissapear except I have no idea what it's called :)
~~~~~~~~~~~~~~~~
Kris
Current project: www.cribfax.com