Images not responsive on mobile

Hi,

my header background images are not responsive and the portfolio images are too big (imho). How can I fix this these problems?

Comments

  • Hi,
    It's because you have turned on the "Parallax" effect, it's not gonna 'scale', but it will stay in the center (like cutting).
    Also, you assigned very big padding value, that's why it's long on mobile.

    If you want to use background video (as in yours, the picture is changing), you should use the Revolution Slider instead.

    It's easy to use and it has a lot of advanced options which will make your header background beautifully.
    Thanks
  • Thank you, I changed the Parallax to Center, but if I take off padding, my header image becomes very small in height. It should be 400 or 500px of height, is there an other way to set this?
    Lets use this page as example: https://lpg.jls.mybluehost.me/celeste-project/

    And how can I make the portfolio pictures smaller on mobile? https://lpg.jls.mybluehost.me/products/
  • 1) You can create separate section for mobile and desktop.
    It's in the section settings, exactly it's a "Responsive Visibility"

    2) You can make it smaller only globally, but try this code if you want to change it on mobile only.
    Paste it to the Theme Options > Custom CSS & JS > CSS

    @media (max-width:768px){
    .portfolio-item{
    transform:scale(0.8) !important;
    }
    }
    Thanks
  • 1) Thank you, this works.

    2) Thank you, with this code the images resize, but there is a lot of space between them. I guess the container can't resize, right?

  • It shouldn't be touched by CSS to be honest, because it's all calculated using Javascript.
    Unfortunately, the height of the container is clearly managed by that script and even changing it with CSS will not change it.

    Greetings
Sign In or Register to comment.