767 width center the logo

Homepage Community Forums Epik Theme Support 767 width center the logo

Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14054
    #14057
    EliteGD
    Customer

      Never mind I got it fixed i’m just a bit of an idiot lol

      #14064
      Wes
      Moderator

        No problem, just let us know if you need anything else.

        BTW I removed the login info that you posted just in case someone else sees it and tries to login to your site. In the future, you can add your login info as a “Private Reply” if you check the box under the form and no one else will be able to see it. It won’t work on the first initial post, so you have to reply to yourself (create a second post right under) and then the Private Reply option will show up.

        #14066
        EliteGD
        Customer

          So for anyone who wants to know or runs into the problem
          First as Wes pointed out in another post go to your functions.php

          //* Add support for custom header
          add_theme_support( ‘custom-header’, array(
          ‘width’ => 145,
          ‘height’ => 113,
          ‘header-selector’ => ‘.site-title a’,
          ‘header-text’ => false,
          ) );

          Change the width and height to match your exact logo size

          In your style sheet inside your media query
          @media only screen and (max-width: 767px)

          add

          .custom-header .site-title a {
          background-position: center !important;
          }

          It was still a little tight on spacing so I added a bit of margin

          .header-image .site-title a {
          float: left;
          min-height: 113px;
          margin: 10px;
          width: 100%;
          }

          #14067
          EliteGD
          Customer

            Thanks Wes, I had made that account just for the post and have removed it after I got the issue solved. However good to know as I didn’t realize there was the private reply but I see that now that you pointed it out =).

            Thanks
            George M.

            #14080
            Wes
            Moderator

              Glad I could help. And thanks for posting the code above, I appreciate it!

            Viewing 6 posts - 1 through 6 (of 6 total)
            • The topic ‘767 width center the logo’ is closed to new replies.