Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Remove background from content box just for mobile devices

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #257474
    scardan
    Participant

    Hi

    I would like to remove the background (the pattern) of the box on the top of this home page just on mobile devices. http://www.nutrition-bites.co.uk/home Could anyone advise the code I would need to use in order to make this happen? I’m using the Avada theme and have been using the custom CSS page within the theme in order to customise certain areas.

    Thanks, Jo

    #257476
    webinuse
    Participant

    Anything can be added or removed through the media querie, so all you have to do is to determine at which screen size you want to remove the background and then:

    @media only screen and (max-width: 768px) {
    .someClass {
    background: none;}}
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.