Logo position in top left corner

Homepage Community Forums Aspire Theme Support Logo position in top left corner

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20923
    obabilon
    Customer

      How can I adjust spacing in CSS so the the logo stays vertically positioned in the top bar area. I added a Custom CSS that looks fine when you initially enter the page at the top:

      /* Moves the logo up 12px */
      .header-image .site-title > a {
      margin-top: -12px
      }

      But it pushes the logo to far up when I scroll down a page.The logo shrinks, which is fine but then it gets cut off at the top.

      #20939
      Wes
      Moderator

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

        #20941
        obabilon
        Customer

          Oops sorry. I forgot to give that to you:
          http://dox.babilonarts.biz

          #20949
          Wes
          Moderator

            Ok this took some time, but I think this will work…

            First I would remove this –

            .header-image .site-title > a {
                margin-top: -12px;
            }

            Then add something like this to your CSS –

            .front-page .site-header {
                padding: 10px 0;
            }
            
            .site-container .site-header.light {
                padding: 10px 0 0;
            }
            
            .header-image .light .site-title > a {
                height: 60px;
            }
            
            p.site-title {
                margin-bottom: 0;
            }

            You can either add that code to your CSS, or you can adjust those already existing sections in your CSS. It would probably be easier to just add these to your CSS. You can add !important if one of them doesn’t work, but hopefully everything should work as is without needing to do that.

            You can add or reduce padding if you want to as well.

            Let me know if this works.

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