Okay
  Public Ticket #2256147
Mobile background image
Closed

Comments

  •  8
    marknorm14 started the conversation

    Hi..


    Is it possible to have a colour overlay on a background image only on mobile?


    If you see... https://virdisgroup.frootdesign.com  there is a big bgrnd image - but it interferes with text on mobile - so hoping to add something like a 50% white overlay to the image when it is mobile.


    thanks as always

    norm


  •  3,023
    Andrew replied

    Hi Norm,

    Yes, it's possible. to make the adjustment add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    @media (max-width: 767px) {
      
     .row-bg.using-image.using-bg-color {
        opacity: 0.4 !important;
    }
      
    }
    

    Kind regards,