Logo

This topic is: not resolved

Tagged: 

This topic contains 5 replies, has 3 voices, and was last updated by  ShariLee 6 months, 4 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #93821

    rogercba
    Member
    Post count: 1

    Hello,

    I need to change the logo and make fills the header, remove the limitation of 270 x 80 pixels, is posible?

    Thanks

    http://www.mejorvuelo.com/
    #93857

    benjeeno
    Participant
    Post count: 266

    Look for this code in the functions.php file to change the default header size.

    // Add support for custom header
    add_theme_support( 'custom-header', array(
    'width' => 300,
    'height' => 80,
    'header-selector' => '.site-title a',
    'header-text' => false
    ) );

    In future posts please state what version of WordPress you are using and the Genesis Child Theme name and version

    #93863

    rogercba
    Member
    Post count: 1

    I use metro pro template and it isn’t working, it cuts the image

    #93871

    benjeeno
    Participant
    Post count: 266

    Load up an image in your Appearance > Header admin, then change your CSS to this:

    
    .header-image .site-title a {
    background-color: none;
    max-width: 1070px;
    min-height: 80px;
    padding: 0;
    }
    
    .header-image .site-description, .header-image .site-title a {
    display: block;
    /* text-indent: -9999px; */
    }
    

    These values should also be the same as in your functions.php file

    >>>> max-width: 1070px;
    >>>> min-height: 80px;

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    'width' => 1070,
    'height' => 80,
    'header-selector' => '.site-title a',
    'header-text' => false
    ) );

    • This reply was modified 6 months, 4 weeks ago by  benjeeno.
    • This reply was modified 6 months, 4 weeks ago by  benjeeno.
    #93881

    benjeeno
    Participant
    Post count: 266

    I don’t know what kind of background image you want back there, but if you add the following it will start to position your html site title. You can give it whatever padding you want from there or have it centered all the time with text-align: center.


    header > div > div > h1 > a {
    padding: 15px !important;
    }

    #93882

    ShariLee
    Participant
    Post count: 21

    That was great information you just gave, Ben … Do you by any chance know how to make the actual post area wider than 960 and the primary sidebar wider? I have an opt in that is too wide for the primary, and I would love the center part to be wider also… Thank you.


    ShariLee Beynon
    GoldaVere IMS

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.