Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Make #content bg completely transparent

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43884
    mikeman
    Member

    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 :)

    #130594
    pixelgrid
    Participant

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

    #130595
    mikeman
    Member

    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

    #130596
    pixelgrid
    Participant

    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

    #130598
    mikeman
    Member

    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)
  • The forum ‘CSS’ is closed to new topics and replies.