[Resolved] Adjust padding separately between site logo and navigation

Home Forums Support [Resolved] Adjust padding separately between site logo and navigation

Home Forums Support Adjust padding separately between site logo and navigation

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2308269
    Michelle

    I am using Navigation as Header with mobile menu and sticky menu on.

    My site logo looks great on sticky scroll, but is higher than the navigation on the regular Header. (I need to bring the nav up or bring the site header down.)

    What I like (shows on sticky header) – https://postimg.cc/TKXdWxkp

    What needs fixing (shows before sticky header kicks in) – https://postimg.cc/fkGZ6ZQB

    Here’s the CSS I’m using:

    
    .main-navigation .main-nav ul li.login-logout a {
      font-size:11px;
      padding: 8px;
      background-color: #b80000;
      color: #ffffff;
    	border-radius: 5px;
      line-height: 8px;
    	margin: 25px 0;
    }
    
    .login-logout {
      position: -webkit-sticky;
      position: sticky;
      top: 0;
    	line-height: 0px;
    	left: 20px
    }}
    

    How do I fix this?

    #2308350
    Fernando
    Customer Support

    Hi Michelle,

    I noticed that this topic has been marked as resolved. To clarify, would you still need assistance with regards to this?

    #2308406
    Michelle

    Yes, I re-wrote the request in a new thread, complete with screenshots. What I need most is a way to make the nav button line up with the site logo. Thank you for asking.
    🙂

    #2308407
    Michelle

    Oops. Yes, I still need help on this. I am replying on my phone

    #2308423
    Fernando
    Customer Support

    Can you provide the link to the site in question?

    #2308451
    Michelle

    Sure. See below

    #2308470
    Fernando
    Customer Support

    Try adding this:

    nav .inside-navigation .site-logo {
        margin-bottom: 0;
    }
    #2308508
    Michelle

    It didn’t change. (I cleared my cache)…

    #2308519
    Fernando
    Customer Support

    I think you have syntax error somewhere in your Additional CSS. Check for excess }. It’s causing the new CSS not to work.

    #2308863
    Michelle

    Ok. Thank you, I will look at it.

    #2309027
    Michelle

    That was a fantastic thing for me to learn. I used an online syntax validator (didn’t know they were a thing) and found multiple errors. I fixed the errors, line by line, and now I finally have a site that shows my CSS changes. I kept thinking my code was wrong–and it was–but not for the reasons I thought. It was SYNTAX errors. What a relief. Oh my gosh. Here’s a virtual hug. [Hug].

    #2309380
    Fernando
    Customer Support

    You’re welcome Michelle! Glad for you!

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.