Nav Menu and Primary Nav Menu

Homepage Community Forums Epik Theme Support Nav Menu and Primary Nav Menu

Tagged: , ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8948
    Antxon
    Customer

      Hi everyone,

      I am customizing my version of Epik and I am using a menu to the right hand side of the logo and also the primary menu. One thing that I am trying to achieve is to have the font of the menu to the right of the logo to be blue like the background color of the primary menu while the font of the primary menu remains white?

      And since we are talking about the header of the site, how can I reduce the space between the bottom of the logo and the primary nav menu?

      Thanks in advance.

      #8949
      Wes
      Moderator

        Do you have a link to your site so I can take a look?

        #8950
        Antxon
        Customer

          Forgot to add the website URL: http://67.20.94.225

          Thanks in advance.

          #8952
          Antxon
          Customer

            Hi Wes,

            I have managed to get the different colour working for both the menu to the right of the logo and the menu under the logo. What’s remaining now would be reducing the pace between the bottom section of the logo and the primary nav menu.

            Thanks in advance.

            Antxon

            #8955
            Wes
            Moderator

              The space that you see under the logo is actually coming from the widget area. The widget area has padding on top and bottom, and that pushes the content below it down further (which is why you see extra space under the logo). You can change it from line 1974 in your css –

              .header-image .site-header .widget-area {
                  padding: 40px 0;
                  padding: 2.5rem 0;
              }

              You’ll need to use an rem calculator to change the 2.5rem part. If you want to remove it and just use the padding, you can, and once you figure out how many pixels you’ll need, you can convert that into rem and add it back.

              Last, the space under the primary nav is coming from your .head-wrap which can be found on line 1875 –

              .head-wrap {
                  background: #303236;
                  margin: 0 0 40px;
              }
              #8956
              Antxon
              Customer

                Hi Wes,

                Thanks for your response and for providing the guidance around the padding. I am currently going through my learning curve with CSS. I will implement the suggestions and let you know.

                Thanks!

                #8959
                Wes
                Moderator

                  You’re Welcome

                  #9018
                  Antxon
                  Customer

                    Hi Wes,

                    Quick update, I have done the changes as per your notes and got the result I wanted! Thanks once again!

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘Nav Menu and Primary Nav Menu’ is closed to new replies.