Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12521

    sorry for all the questions but I’m just trying to finish up!

    I’ve managed to get a background behind my sidebar widgets by modifying this code from another post here in the forum and adding my background image.

      /* To format secondary widgets in sidebar */
      #secondary .widget {
      background: url(“http://interiorsalvagedesign.com/wp-content/uploads/2013/07/fairy-resized.jpg”) repeat scroll left top transparent;
      border: 1px solid #99999;
      padding: 20px; padding: 2rem; }

    http://interiorsalvagedesign.com/

    How would I get the background to be around the whole sidebar rather than just the individual widgets?

    I’ve tried #sidebar .widget-area and a few other things but can’t get it.

    Thanks!

    #12539
    Sakin
    Keymaster

    @interiorsalvage: In your above css. Just change #secondary .widget to #secondary

    #12542

    Thanks Sakin! It worked but it moved my sidebar way down towards the bottom of the screen. hmmmm…

    #12549
    Sakin
    Keymaster

    @interiorsalvage: Then decrease width and padding.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘sidebar background’ is closed to new replies.