Forums

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

Home Forums CSS turning off a div in fluid grid tablet mode turns it off on desktop mode and phone mode as well

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44641
    drotar
    Participant

    does anybody have any idea what causes a mediaquery tablet css command

    .videoContainer .edge {
    float: left;
    width: 33% !important;
    position:relative;
    padding-bottom:38%;
    height:0;
    overflow:hidden;
    display: none;
    }

    to turn off the desktop version as well? this is driving me nuts.
    desktop version (has it’s own style sheet)

    .videoContainer .edge {
    float: left;
    width: 33% !important;
    position:relative;
    padding-bottom:38%;
    height:0;
    overflow:hidden;
    }

    would appreciate any insight.

    #134502
    Alen
    Participant

    It inherits `display:none;` from the initial media query, then you never display it back, using `display:block;`.

    #134569
    drotar
    Participant

    alen,
    you are my newest, best friend. thank you so much. i wasn’t looking, seeing the forest through the trees sort of thing.

    thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.