Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #865309

    Hi,

    Can you tell me how to hide the photo named with the class css “bandegrise” for mobile version (under 990 px width) ?

    Here is the web page : http://www.micropole-learning-solutions.com.qual.micropole.com/index.php/inclass-learning/

    Thank you

    Best regards,

    #865317

    well the whole color-section got this class!
    And you like to get rid only the little image :

    go and give a unique class to the image element itself – and by the way you are using enfold 4.1.2. look to the image alb screen-options dialog.
    hide on medium large screens and under it (3 marks to set)

    • This reply was modified 7 years, 1 month ago by Guenni007.
    #865330

    But!

    You don’t want to have a 1/2 column and a white room.
    So it is better to get rid of the column
    the column itself got a screenoption too

    #865332

    Hey!

    Please refer to @guenni007’s post :)


    @guenni007
    Thanks for your help as always :)

    Regards,
    Yigit

    #865333

    this code will do the trick but to understand enfold the obove will be helpful:

    @media only screen and (max-width: 989px) {
    .bandegrise .av_one_half:nth-child(2) { width: 99% }
    .bandegrise .av_one_half:nth-child(3) { display: none }
    }

    or a bit different with not:

    @media only screen and (max-width: 989px) {
    .bandegrise .av_one_half.first { width: 99% }
    .bandegrise .av_one_half:not(.first) { display: none }
    }

    i do here 99% some browsers will calculate f.e. the border to the box others not. So 100% could give sometimes not the desired result

    #865342

    thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘hide photo for mobile version’ is closed to new replies.