• Resolved PollyPirate

    (@pollypirate)


    Hello,

    Could someone help me with the correct code to change the background color of the .navbar inner? I am using a child theme.

    I have been fiddling around but to no avail! I would like it to be #55B7C7 fading the gradient down to #FAFAFA.

    Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter PollyPirate

    (@pollypirate)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If something like;

    .navbar-inner { background: deeppink; }

    Doesn’t work then you may have an issue with CSS specificity or a syntax error.

    Thread Starter PollyPirate

    (@pollypirate)

    Thank you yes the code above does work, but to answer my question what code would be correct to use to fade the colour from #55B7C7 to white within the .navbar-inner?

    Many thanks for your time.

    Thread Starter PollyPirate

    (@pollypirate)

    /*Change color of navbar*/
    .navbar-inner {
        background-color: #55B7C7;
        background-image: linear-gradient (to bottom, white, rgb (242, 242, 242));
    }

    I tried this but it didn’t work!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change colour of Navbar’ is closed to new replies.