Forums

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

Home Forums CSS media query

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #44386
    catfood
    Member

    hi

    i am using flexslider and i want the image on my slide NOT to appear at lower resolutions. this aint working… what will?

    @media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {opacity: 1; left: 0;} .flex-direction-nav .flex-next {opacity: 1; right: 0;}
    }

    @media only screen and (min-width : 860px) {

    .flexslider .slides img {
    z-index: -1;
    float:right;
    display:block;
    width: 100%;
    }

    @media screen and (min-width: 600px) and (max-width: 860px) {
    .flexslider .slides img { display: none; }
    }

    #133280
    Paulie_D
    Member

    Do you have a link?

    #133282
    catfood
    Member

    russjohnson.co.uk/Beamtest

    #133283
    Paulie_D
    Member

    Rather than hide the image…shouldn’t you be hiding the entire slider?

    #133284
    catfood
    Member

    just the image for now.

    #133285
    Paulie_D
    Member

    >just the image for now.

    But what does that get you? The space will still be there.

    In any case, I’m not seeing that code on the current site:

    @media screen and (min-width: 600px) and (max-width: 860px) {
    .flexslider .slides img { display: none; }
    }

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