Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #302448

    Hi

    I´m using this code to remove a background image on mobile-devices AND to make the menu-background black when it pops up on a mobile device.

    But it dosen´t seem to work?

    Here´s the code:
    #mobile-advanced, #mobile-advanced a, #mobile-advanced .mega_menu_title { color: white;}

    @media only screen and (max-width: 767px) {
    .main_color {
    background-image: none;
    }

    #302512

    Hey lome61!

    Please add following code to Quick CSS

    ul#mobile-advanced {
    background-color: black;
    }

    Can you please point out the image you would like to remove on mobile?

    Regards,
    Yigit

    #308410
    This reply has been marked as private.
    #308633

    Hey!

    There’s a missing bracket on the media query. It should be like this:

    @media only screen and (max-width: 767px) {
    .main_color {
    background: none !important;
    }
    }

    Cheers!
    Ismael

    #316032

    Only one moore question about the Mobile background:

    As I described above the website has a background image AND I haven´t put any the MAIN CONTENT any background color because that affects the Portfolio title background – because I want that background transparent.

    SO – If I want to remove the background image as Ismaels answer above AND give the Mobile background black color – how do I write the code?

    I´ve realy tried but failed!

    Kind regards
    Micke

    #316307

    Hey!

    If you want a black background on mobile instead of image, use this:

    @media only screen and (max-width: 767px) {
    .main_color {
    background: #000000 !important;
    }
    }

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.