LifeStyle Pro – Unable to left align logo

Community Forums Forums General Discussion LifeStyle Pro – Unable to left align logo

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  snowmoon0522 8 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #88200

    snowmoon0522
    Participant
    Post count: 1

    Help! I love Genesis but the header logo always does my head in. This shouldn’t be taking this long but I have for the past two hours tried to left align the logo on Lifestyle Pro for a client. I’ve tried everything I can think of. Custom CSS does nothing. Then I noticed that in genesis/lib/structure/genesis_custom_header_style.php there’s a bit where it outputs the logo as a background image:

    
    //* Header image CSS, if exists
    	if ( $header_image )
    		$output .= sprintf( '%s { background: url(%s) no-repeat !important; }', $header_selector, esc_url( $header_image ) );

    so I tried altering that in my child theme’s functions php so that it outputs this:

    
    //* Header image CSS, if exists
    	if ( $header_image )
    		$output .= sprintf( '%s { background: url(%s) no-repeat top left !important; }', $header_selector, esc_url( $header_image ) );

    but still it’s not moving my logo.

    Anyone knows how to do this? Thanks!

    http://mylifesuckers.com/
    #88205

    snowmoon0522
    Participant
    Post count: 1

    Solved my own problem within a few minutes of posting. This does the trick:

    
    .header-full-width.header-image .site-title a {
    	background-position: left top!important;
    }
    

    where previously this didn’t do anything.

    
    .header-image .site-title a {
    	background-position: left top!important;
    }
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.