main nav bar weirdness

Homepage Community Forums Legacy Theme Support main nav bar weirdness

  • This topic has 3 replies, 2 voices, and was last updated 11 years ago by Wes.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4052
    tjd
    Customer

      Hi,

      The Main Nav Bar located below the Header is the same color as the Header and I like the look. I do have an issue with the selection color on this nav bar. When a page is selected, the highlight color grey, is off-center around the Page title. I figured it was to do with a padding or margin setting but I can’t locate it in the css. If you check out the site you’ll see what I mean…the grey extends towards the left from the Page title but not towards the right.

      I’d like to get the left-side  setting equal to the right-side setting. I’d like separation between the selected Page titles. Here’s where I’ve been working around:

      #nav li ul { }

       

      .menu li a:active,

      .menu li a:hover,

      .menu .current_page_item a,

      .menu .current-cat a,

      .menu .current-menu-item a {

      background: #252525;

      color: #fff;

      Can you point me in the right, or rather left, direction?   tomjdolan.com

      Thanx from another rainy Tokyo day…Spring has been elusive this year.

      Tom

      #4053
      Wes
      Moderator

        Hello Tom,

        Take a look around line 374 in your css file or search for “.menu a” and change the padding to this –

        `.menu a {
        color: #a80202;
        display: block;
        font-size: 17px;
        font-weight: normal;
        padding: 10px 20px;
        position: relative;
        text-decoration: none;
        text-shadow: 2px 2px 2px #000;
        }`

        You can adjust it if you need to, but I set it to 10px top and bottom and then 20px left and right which will make both sides equal and the top and bottom equal.

        Let me know if that works for you.

        #4056
        tjd
        Customer

          Hi Wes,

          That solved the problem,

          Thank you,

          Tom

          #4057
          Wes
          Moderator

            Great!

            You’re Welcome!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘main nav bar weirdness’ is closed to new replies.