transparent background

  • Olivier Boels

    #6414

    Hello guys, I was wandering which code should i use to get rid of the black background and make it transparent without have to delete it in the css? Also I would like to know how to take out the gallery title on the left corner.

    http://www.etnofoco.com/wordpress1/?page_id=122

    Thanks a lot.

    Olivier Boels

    #34246

    I almost forgot, i would like to be able to take the title just for some galleries and not all of them,

    Thanks ahead.

    Prasanna SP

    #34247
    #post-122 {
    background: none;
    background-color: transparent;
    }

    #post-122 .entry-title {
    display: none;
    }

    Prasanna SP

    #34248

    To have transparent background for all pages,

    #content-main .page {
    background: none;
    background-color: transparent;
    }

    Olivier Boels

    #34249

    Thanks a lot Prasanna, it works just great. I would like to ask one more thing, in the same page I end up reducing the size of the picture a bit, just for this page and of course the image is not centered (height) anymore. I have tried this code but it doesn’t work:

    #post-122 .aligncenter {
    display: block;
    margin-top:80px;
    }

    I know the 80 are correct as I saw in the fire bug…

    Thanks for your help.

    Prasanna SP

    #34250

    Assuming you want 80px top margin for that image,

    #post-122 .entry-content img {
    margin-top: 80px !important;
    }

    Olivier Boels

    #34251

    Thank you so much Prasanna!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.