2

CSS not working in blocks

http://drupal.org

Hi there,

I'm trying to add an image to a custom block located in my footer. The following code is located in my style.css file (at the very bottom). The blocks ID according to my browser when hovering of 'configure' is block/1.

#block-block-1 {
      background: url('images/videoimage.jpg')
      }

And the HTML...

<!--FOOTER AREA-->
     <div id="footer-pseudo" class="clearfix">
         <div id="footer" class="clearfix">
          <div id="footer-wrapper">

                  <div id="footer-left">
                       <?php print $footer_left; ?>
                  </div>

                  <div id="footer-middle-one">
                       <?php print $footer_middle_one; ?>
                  </div>
                  <div id="footer-middle-two">
                       <?php print $footer_middle_two; ?>
                  </div>
                  <div id="footer-right">
                  <?php print $footer_right; ?>
                  </div>
          <?php if ($full_footer): ?>
          <div id="full-footer">
                <?php print $full_footer; ?>
          </div>
          <?php endif; ?>   
          </div><!-- /footer-wrapper -->

read more

Read »
Created by Dplanet 2 years 10 weeks ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for CSS not working in blocks

Recent comments