Select Page

Change Secondary background on mobile from image to colour

 | SubscribeFavorite

Viewing 2 reply threads
  • Author
    Posts
    • #7115REPLY
      [email protected]

      Participant

      As per the title. due to layout issues my background image is too short for a section when the screen size is small and the text only has a few words per line resulting in some of the text being displayed against a white background, What CSS code would I use to change the image for a plain colour for a small mobile screen?

    • #7116REPLY
      ChrisM

      Participant

      Hi,

      It’s hard to say whats going on without seeing it. Have a look in the background section you have used for the image, you’ll see advanced. If you click the dropdown you will have an option to resize the image according to screen width.

      If you are wanting big text on the desktop you can use media query to create diffrent sizes as the website scales to diffrent widths, for example: @media only screen and (max-width: 600px) { }

      I hope that helps. 😉

    • #7117REPLY
      [email protected]

      Participant

      Thanks Chris.