Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Change .navbar color on custom pages

Change .navbar color on custom pages

Scheduled Pinned Locked Moved General Discussion
backgroundcolornavbar
7 Posts 4 Posters 373 Views
  • 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.
  • A Offline
    A Offline
    antonia_viola
    wrote on last edited by
    #1

    Hey guys
    I tried very hard to make this work but no code is working.
    Can someone help me with changing the background color of my navbar on my projects site from black to #a987f1 ?
    Thank you so much!

    http://antoniaviola.com/category/projects/

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @antonia_viola

      .slug-projects .navbar {
          background-color: #a987f1;
      }
      

      Best!

      Marius

      www.mariusjopen.world

      A 1 Reply Last reply
      0
      • mariusjopenM mariusjopen

        Dear @antonia_viola

        .slug-projects .navbar {
            background-color: #a987f1;
        }
        

        Best!

        Marius

        A Offline
        A Offline
        antonia_viola
        wrote on last edited by
        #3

        @mariusjopen wow thank you! I don't understand why it didn't work.
        Thank you so much!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Anders
          wrote on last edited by
          #4

          This is great!
          @mariusjopen Is it also possible to change the text color of the menu points in this way? And is it possible as well to load a different logo file? So that one page could have a dark logo + dark menu points on a bright background while another page could have the colors inverted.

          Best,
          Anders

          1 Reply Last reply
          0
          • mariusjopenM Offline
            mariusjopenM Offline
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Dear @antonia_viola
            all is possible!

            Are you familiar with CSS and a bit of jQuery? If not I would recommend to have a look into some tutorials at Codeacademy https://www.codecademy.com/.
            It is for free for the basics. The effect you are trying to achieve requires some knowledge and brainpower :-)
            Best!
            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Anders
              wrote on last edited by
              #6

              Thank you @mariusjopen for the link! I'll check it out and try get a grasp on the basics :)

              -Anders

              1 Reply Last reply
              0
              • CyberSlayersC Offline
                CyberSlayersC Offline
                CyberSlayers
                wrote on last edited by
                #7

                Perfect! Glad to hear!
                To reverse colors on an image you can also have a look into "css filters image".

                Many wishes!

                Audrey

                ✦ Audrey@CyberSlayers.work ✦
                www.cyberslayers.work

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                I also code custom websites or custom Lay features.
                šŸ’æ Email me here: šŸ’æ
                info@laytheme.com

                Before you post:
                1. When using a WordPress Cache plugin, disable it or clear your cache.
                2. Update Lay Theme and all Lay Theme Addons
                3. Disable all Plugins
                4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                This often solves issues you might run into

                When you post:
                1. Post a link to where the problem is
                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                Online Users
                A
                alasdair17
                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