Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #932497

    Hello there,
    Im working on a webpage and everything is fine with the computer view but on a mobile view i can see the whole header images just a part of them.

    How can i fix or configure it to see the whole image on a mobile device?

    Thanks for letting me know

    mcmoya

    #932624

    Hey mcmoya,

    Desktop screen is landscape and mobile devices are usually portrait mode. You need to have 2 set of image to always show what you want on both desktop and mobile.

    To change the color section background image in mobile assign a unique developer ID to the color section and add the below CSS code in Enfold > General Styling > Quick CSS or in your child theme styles. You can also adjust the position in X and Y axis by changing the value of the background position in pixel or percentage.

    /* BG adjustment for Mobile */
    @media only screen and (max-width: 767px) {
    #top #unique-id {
    background-image: url(https://your-site.com/image.jpg)!important;
    background-position: 0% 50%!important;
    }
    }

    Best regards,
    Vinay

    #943309

    I am using this code above. The ID I created is called BG. But it does not change the background image on the device.

    / * BG adjustment for Mobile * /
    @media only screen and (max-width: 767px) {
    #top #bg {
    background-image: url (http://www.oficialcarmel.hospedagemdesites.ws/carmel5/bgs/01.jpg)! important;
    background-position: 0% 50%!
    }
    }

    #944229

    Hi,

    I could not find a section with BG ID. Could you please add unique ID and custom CSS once again and let us know so we can check it once again? :)

    Best regards,
    Yigit

    #944261

    Yigit, thanks for the feedback.

    The correct link is this below. In the last item of the page there is a color section with ID bg …. the image does not load.

    link

    #944268

    Hi,

    I checked your website on my iphone but it seems to be working fine. I attached screenshots in private content field. Isn’t this how it’s supposed to be?

    Best regards,
    Yigit

    #944288

    Nothing came in the private.

    My question is with regards to the image that is loaded by the code …. are you carrying it there?

    /* BG adjustment for Ipad */
    @media only screen and (max-width: 1024px) {
    #top #bg {
    background-image: url(http://www.oficialcarmel.hospedagemdesites.ws/carmel5/bgs/ipad-em-pe.jpg)!important;
    background-position: 0% 50%!important;
    }
    }

    Você pode olhar um ticket para mim? É muito urgente. #943807

    #944393
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Whole image view’ is closed to new replies.