Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #214908

    Having the same problem that was outlined in this thread:

    Colour Section & Background Attachment Mobile Devices
    https://kriesi.at/support/topic/colour-section-background-attachment-mobile-devices/

    It didn’t specify if there ever was a fix, and if successful? Is there something that can be done so the images will show up? Unfortunately, our site is not live yet so I can not provide a link for you to view.

    #214920

    So this is the code that allows the image to be stretched.

    if($repeat == 'stretch')
    			         {
    			             $background .= "background-repeat: no-repeat; ";
    			             $class .= " avia-full-stretch";
    			         }
    			         else
    			         {
    			             $background .= "background-repeat: {$repeat}; ";
    			         }

    If there was a way to have that code be applied on a mobile device, I believe that would solve a lot of problems. Is there anyway to have this only applied to devices with screen size < 768

    #215717

    Hi!

    Please post a link to your color section – we need to check the color section id first, otherwise the css code is not specific enough and will affect all color sections on your website. Basically it should be possible by wrapping your css code into a media query like

    
    @media only screen and (max-width: 767px){
    ....my css code...
    }
    

    Best regards,
    Peter

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Problem w/ Color Section on Mobile’ is closed to new replies.