Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. nav bar color change on different pages

nav bar color change on different pages

Scheduled Pinned Locked Moved General Discussion
9 Posts 4 Posters 957 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    B
    Brief
    wrote on last edited by
    #1

    Hello everyone,

    I have seen this question asked before but did not find an answer. The navbar menu on my home page is grey. On my about page the page background colour is a pink/peach colour. I need the nabber menu colour to change to pink/peach on that page. Would also like to do this to other pages that I add that are different colours.

    Could someone please help. I just realized I have been using this platform for over 5 years for several projects 'thumbs up'

    Thank you so much.

    Best,

    Thomas

    Site I am working on:

    http://strathcona-homes.ca

    1 Reply Last reply
    0
    • B
      B
      Brief
      wrote on last edited by
      #2

      I am referring to the menu bar color, sorry if it's unclear what I am referring to.

      1 Reply Last reply
      0
      • panteleyP
        panteleyP
        panteley
        wrote on last edited by
        #3

        image.png

        1 Reply Last reply
        0
        • panteleyP
          panteleyP
          panteley
          wrote on last edited by
          #4

          Consider hiding it.

          1 Reply Last reply
          0
          • B
            B
            Brief
            wrote on last edited by
            #5

            thank you but I want to have the effect of having content flow behind it.....
            just need code for custom color on a particular page...

            1 Reply Last reply
            0
            • M
              M
              maxkesslau
              wrote on last edited by maxkesslau
              #6

              This is easily doable with a tiny bit of css, just add an html element to the page you want your navbar color changed on, and put in

              <style>
              .navbar{
                   background-color: your color of choice goes here in whatever format you like;
              }
              </style>
              

              If that does not work, add a !important after the color and before the semicolon.

              d77e87d2-44e1-4f65-b74b-daaba09f903b-image.png

              1 Reply Last reply
              1
              • arminunruhA
                arminunruhA
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                very good answer
                also read this https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

                1 Reply Last reply
                0
                • B
                  B
                  Brief
                  wrote on last edited by
                  #8

                  Thank you. I will try it out.

                  1 Reply Last reply
                  0
                  • B
                    B
                    Brief
                    wrote on last edited by
                    #9

                    Amazing!!!! Works great.

                    1 Reply Last reply
                    1

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    Online Users
                    I
                    itsbadjujuju
                    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                    laytheme.com
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Search