• Resolved Heartbr3ak

    (@heartbr3ak)


    I recently added footer widgets to my theme (piggie-bank) via a tutorial to my test blog.

    However, the image from the right sidebar keeps transferring to the footer, where I’d like to use a different image.

    I tried using the !important key but that had no affect. Hopefully it’s an easy fix.

    Any help would be greatly appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Kathryn Presner

    (@zoonini)

    What image are you referring to? Please be as specific as possible so people can help you. Thanks.

    Thread Starter Heartbr3ak

    (@heartbr3ak)

    The prp.jpg (I think) image in the sidebar that is being repeated in the footer widget.

    Moderator Kathryn Presner

    (@zoonini)

    That’s because your blogroll looks like this:

    <div id="linkcat-2" class="box-right"><h4>Blogroll</h4>
    <ul class='xoxo blogroll'>
    [.....] content edited
    </div>

    and the box-right class is defined as this:

    .box-right{background:#222222 url(img/prp.jpg);border:0px solid #2b2e32;margin:0 20px 20px 0;padding:15px;}

    You need to remove the box-right class from the footer widget (not sure how it got there) or add some CSS to override it in the footer.

    Thread Starter Heartbr3ak

    (@heartbr3ak)

    Yes, what I am asking is how to override it in the CSS footer. I am uncertain how lol

    Moderator Kathryn Presner

    (@zoonini)

    If you want everything else to remain the same but just remove the background image, try:

    #footer-sidebar .box-right { background-image: none !important;}

    Removing images in CSS can sometimes be tricky – see if this works first.

    Thread Starter Heartbr3ak

    (@heartbr3ak)

    Thank you kindly. I had tried this previously and it’s not exactly what I was looking for, but I guess it may have to do?

    I would have preferred to put a different image in the footer than the prp image (any image I put still shows up underneath).

    Moderator Kathryn Presner

    (@zoonini)

    If you mean you want a different background-image in the footer widgets than the one that’s showing in the sidebar widgets, then do:

    #footer-sidebar .box-right { background-image: url(img/footer-image.jpg) !important;}

    If you’re trying to accomplish something else, please be as specific as you can. Thanks!

    Thread Starter Heartbr3ak

    (@heartbr3ak)

    Sorry, I thought my original post depicted what I was after adequately.

    However, the image from the right sidebar keeps transferring to the footer, where I’d like to use a different image.

    Thank you, that worked great. I think everything I was trying before failed as I was using #footer-sidebar1 to try and complete the commands.

    Silly me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Different Footer Widget/Sidebar Images’ is closed to new replies.