Announcement

Collapse
No announcement yet.

How to increase the logo size? Magazine Pro

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to increase the logo size? Magazine Pro

    Hi!

    I'm using Genesis Extender.
    I'd like to increase the logo size (image).
    I tried to add custom header support but it didn't work.
    (I'd like to have a logo bigger than 380 × 90 px. Logo would be centered inside the header.)

    If you have any idea that could help me, I'd be very graceful :-)

    Thanks!
    Last edited by Arom77; 03-02-2015, 02:19 PM.

  • #2
    Have you searched the StudioPress Forum? Example: http://www.studiopress.com/forums/to...image-padding/

    Comment


    • #3
      Hi Kellylise

      Thanks for the link :-)
      I've tried it before sending a message here and couldn't get it to work.
      I've just tried again with no more luck: logo always stay exactly the same.
      Any idea?

      Comment


      • #4
        I've tried it before sending a message here and couldn't get it to work.
        We´d need a better / more detailed description of what exactly you did / put where / how it looked / what didn´t work. From just your frontpage, we can only see the actual state - which is not what you want. We don´t even know the new size....

        Comment


        • #5
          Hi SiGa

          Actually I added this code into my functions.php (with Genesis Extender) and tried to change values ("90" and "260"). But the header and logo size stayed exactly the same.

          Code:
          //* Add support for custom header
          add_theme_support( 'custom-header', array(
              'header_image'    => '',
              'header-selector' => '.site-title a',
              'header-text'     => false,
              'height'          => 90,
              'width'           => 260,
          ) );
          (for the moment I don't know the exact size I'd like to use)

          Comment


          • #6
            Well you followed 1.) from the tutorial Kelly linked you to and you need to follow 2.), too, to see a result.

            (for the moment I don't know the exact size I'd like to use)
            I don´t really see how we could help you then?

            Comment


            • #7
              Originally posted by SiGa View Post
              Well you followed 1.) from the tutorial Kelly linked you to and you need to follow 2.), too, to see a result.
              I followed 1) and 2).

              That means I added this in my functions.php (using Genesis Extender):

              Code:
              //* Add support for custom header
              add_theme_support( 'custom-header', array(
                  'header_image'    => '',
                  'header-selector' => '.site-title a',
                  'header-text'     => false,
                  'height'          => 90,
                  'width'           => 260,
              ) );
              And I added this in my Custom CSS:
              Code:
              /* Logo, hide text */
              
              .header-image .site-title a {
                  background-position: top !important;
                  float: left;
                  min-height: 90px;
                  width: 100%;
              }
              But the image logo stayed exactly the same.
              I tried with other dimensions with no more luck.


              Originally posted by SiGa View Post
              I don´t really see how we could help you then?
              The problem is that the image logo stay exactly the same.
              Let's say for example I'd like a logo of 570 * 180.

              Thanks!

              Comment


              • #8
                Edit the functions.php of the Magazine Pro Child Theme directly. It already declares theme support for a custom header. Scroll down until you see this:

                PHP Code:
                //* Add support for custom header
                add_theme_support'custom-header', array(
                    
                'default-text-color'     => '000000',
                    
                'header-selector'        => '.site-title a',
                    
                'header-text'            => false,
                    
                'height'                 => 90,
                    
                'width'                  => 380,
                ) ); 

                Comment


                • #9
                  Hi Junior Atoms

                  Thanks for the info :-)

                  It's on a multisite network and I'd like to change only one subsite (other sites are using the same theme). That's why I'd like to use Genesis Extender to do it. If I understand correctly that's not possible because custom header is already supported by the theme?

                  Thanks!

                  Comment


                  • Junior Atoms
                    Junior Atoms commented
                    Editing a comment
                    I'd contact Cobalt Apps support and ask how to override custom-header sizes from Extender. I'd like to know how also.

                  • Arom77
                    Arom77 commented
                    Editing a comment
                    I contacted them :-) I'll let you know their answer.

                • #10
                  Here is the answer of the Genesis Extender support:

                  I don't know if this is possible to do in the Extender Custom > Custom Functions area as I believe that the child theme functions.php file "fires" after Extender Custom Functions so it's overriding it. But one workaround that may do the trick is to replace the add_theme_support code found in your child theme's functions.php file with this:

                  Then be sure to replace the number "7" with the actual blog ID of your particular sub-site which you want to specify a different header size. This way that code will only execute if NOT on that particular sub-site.
                  Code:
                  global $blog_id;
                  if( $blog_id != 7 ) {
                      //* Add support for custom header
                      add_theme_support( 'custom-header', array(
                          'default-text-color'     => '000000',
                          'header-selector'        => '.site-title a',
                          'header-text'            => false,
                          'height'                 => 90,
                          'width'                  => 380,
                      ) );
                  }
                  Then add the following code to your Extender Custom Functions, editing it to your particular needs:

                  Code:
                  //* Add support for custom header
                  add_theme_support( 'custom-header', array(
                      'default-text-color'     => '000000',
                      'header-selector'        => '.site-title a',
                      'header-text'            => false,
                      'height'                 => 90,
                      'width'                  => 380,
                  ) );
                  And be sure to check the box next to the "Custom Functions" title which says "Affects Admin", otherwise this code will not affect the back-end of your site.

                  Comment

                  Working...
                  X