Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #111661
    jeppevinum
    Member
    Post count: 156

    Can i hide the inner background on smartphones?

    #111664
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Yes, if you could provide me with your link I can tell you how

    – Kyle

    #111665
    jeppevinum
    Member
    Post count: 156
    This reply has been marked as private.
    #111668
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    For the css you have to add the inner page bg, you need to wrap it in a media query:

    @media only screen and (min-width: 321px) { 
    #main-container {
      background: url("http://odensesmoerrebroed.dk/wp-content/uploads/2014/08/banner_froside2.jpg") repeat scroll center top transparent;
    }
    }

    – Kyle

    #111670
    jeppevinum
    Member
    Post count: 156

    It dont works ๐Ÿ™

    #111673
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this instead:

    @media only screen and (max-width: 321px) { 
    #main-container {
      background: none;
    }
    }

    – Kyle

    #111683
    jeppevinum
    Member
    Post count: 156

    Works perfect! ๐Ÿ˜€ thanks

    #111691
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem ๐Ÿ™‚

    – Kyle

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register