Issue removing slider from mobile and narrow browser

Discussion in 'RoadFighter WordPress Theme' started by project_x, Aug 23, 2013.

  1. project_x

    project_x New Member

    Joined:
    Aug 23, 2013
    Messages:
    8
    Likes Received:
    0
    I have attempted to add the lines to the custom CSS portion, however they don't seem to make a difference. If I edit in the inspect element window, it works....if I simply put
    Code:
    .flexslider .slides img { display:none;}
    in the custom css it works for everything.

    I just can't get
    Code:
    @media only screen and (max-width: 767px) and (min-width: 480px)
    .flexslider .slides img {
    display: none;
    }
    (which is the element that i edited in the browser) to work.

    Any ideas.
    My site is here. if that hekps

    thanks,
    Rob
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Rob,

    You are doing a small mistake.
    use this code.

    Code:
    @media only screen and (max-width: 767px) and (min-width: 480px){
    .flexslider .slides img {
    display: none;
    }}
     

Share This Page