hero image

Responsive: width below 1200px -> changing background-color ?

Home Forums WordPress Themes Materialism Responsive: width below 1200px -> changing background-color ?

Forums WordPress Themes Materialism Responsive: width below 1200px -> changing background-color ?

PLEASE NOTE A RECENT CHANGE:
The forum is read-only. Please submit any support request here.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • edqtwolfi
    Member
    TT Client
    #71688

    Hi,

    I set background-color via backend / Materialism / Site Colors: #5b90bf

    This works, but when reducing screen width below 1200px background-color is changing to #ffffff ( via JavaScript ? )

    See two screenshots: 1. screen width more than 1200px / 2. screen width below 1200px (text is marked)

    How can I keep background-color #5b90bf for all sizes?

    Thanks.
    Wolfgang
    Materialism Version 1.0.6 | Framework Version 1.2.2 | Installation: localhost…


    Anonymous
    Inactive
    Inactive
    #71729

    Hello,
    since you have it on your localhost, all I can do for you is to point you to a little tutorial that hopefully will make it clear.
    https://www.w3schools.com/css/css_rwd_mediaqueries.asp
    use the media queries to change the background for every size as you want.
    if you’ll use max-width:1400px and then background to your color, then the site will have the specified background for all machines that have the resolution under 1400px for width.
    The tutorial explains it all.
    Regards.

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

Responsive: width below 1200px -> changing background-color ?

Home Forums WordPress Themes Materialism Responsive: width below 1200px -> changing background-color ?

[i]
[i]
[i]
[i]