Grow your CSS skills. Land your dream job.

Make #content bg completely transparent

  • # April 4, 2013 at 12:31 am

    Hellos, I’m trying to make this black/transparent bg of #content completely transparent and without borders..

    Everything I try does not seem to work.. or instead of being transparent, the video itself disappears.

    http://bit.ly/17bC6Fl

    Would appreciate any help!

    Thank you :)

    # April 4, 2013 at 12:38 am

    from the #content delete the declarations for box shadow and background color

    # April 4, 2013 at 12:41 am

    oh sorry i forgot to include im trying to do this by over writing through custom css like a child theme, by deleting it like you said i would have to edit core theme files.. im hoping to avoid that

    # April 4, 2013 at 12:47 am

    redeclare the #content like this

    #content {
    min-height: 450px;
    position: relative;
    padding: 20px 6%;
    margin-top: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow:none;
    background:transparent;
    }

    this from a child theme will overwrite the parents declaration

    # April 4, 2013 at 1:47 am

    thank you!, i also realized i used a ( instead of { to open the css which was why i couldn’t get anything to work… ugh.. i dont do anything for a month and i slip like that..

    Thanks a ton!

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".