Header color on mobile version - by lxmag

Solved11 replies4 participantsUpdated by Jack Richardson

  • Avatar: lxmag
    lxmag
    Participant

    Hi! How can I change header color from white to any other on mobile devices site version?

    Please, contact administrator
    for this information.

    11 Answers

    Avatar: stan
    Stan Russell
    Participant

    Hello,

    please add following css code to Custom css:

    @media only screen and (max-width: 979px){
     .header{
    	background-color:red;
    }
    }

    Regards,
    Stan Russell.

    Avatar: lxmag
    lxmag
    Participant

    It works, thanx a lot! But pop-up header is still white, can I change it too?

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    Please use this code in custom.css

    @media (max-width: 979px){
    .fixed-header {
        background-color: #000;
    }}

    Regards,
    Robert Hall

    Avatar: lxmag
    lxmag
    Participant

    I don’t know why, but after changes it’s still white.
    http://imgur.com/PIqCPlU

    Avatar: Robert Hall
    Robert Hall
    Participant

    It’s black now. See screenshot: https://gyazo.com/f83a74139560acdeccf53d650b5b143d

    Regards,
    Robert Hall

    Avatar: lxmag
    lxmag
    Participant

    I don’t know what I’m doing wrong, but on my cellphone it’s white – no changes 🙁 In horizontal and vertical version.

    Avatar: Robert Hall
    Robert Hall
    Participant

    Please clear all cache and check it.

    Regards,
    Robert Hall

    Avatar: lxmag
    lxmag
    Participant

    I tried on three different phones (with Android) – on all three is white on the pop-up header.

    http://imgur.com/a/Ezngx

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    I’ve added “!important” to the code.
    Please clear cache and check now.

    Best regards,
    Jack Richardson.

    Avatar: lxmag
    lxmag
    Participant

    Yeeeeah! Thanx a lot.
    🙂

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

The issue related to '‘Header color on mobile version’' has been successfully resolved, and the topic is now closed for further responses