Change logo size and padding

Homepage Community Forums Epik Theme Support Change logo size and padding

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11749
    #11770
    JohnnyvanM
    Customer

      Anyone who knows the anwser to this problem?

      #11779
      Eric
      Customer

        Do you have a link to your site so we can see what’s going on?


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #11790
        JohnnyvanM
        Customer

          Hello,

          Thanks for your response Eric.

          This is the url where you can see the problem: bit.ly/1lc2SHv (copy and paste)

          Normal the size of the logo is 360 x 164 px and when you upload the logo, the header automatically becomes 164px in height. Without logo the header is 77 px in height.

          I want to make the logo smaller. So in Functions.php I changed it to:

          // Add support for custom header
          add_theme_support( 'genesis-custom-header', array(
          	'width' => 300,
          	'height' => 77
          ) );

          And it CSS I changed this:

          .title-area {
          	font-family: "Open Sans",sans-serif;
          	font-weight: 700;
          	float: left;
          	padding: 0;
          	padding: 0;
          	width: 300px;
          }

          And this:

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

          As you can see om my website, the logo gets the correct size, but the header not. It’s 125 px instead of the 77px that I want.

          Is there something else that I have to change?

          #11792
          JohnnyvanM
          Customer

            I have figured it out. I had to change the widget area padding:

            .header-image .site-header .widget-area {
            	padding: 40px 0;
            	padding: 1rem 0;
            }
          Viewing 5 posts - 1 through 5 (of 5 total)
          • The topic ‘Change logo size and padding’ is closed to new replies.