Support » Themes and Templates » Add logo and change css property

Viewing 4 replies - 1 through 4 (of 4 total)
  • Please post a link to your website so I can help you.

    I am running website locally.

    Sorry but I can’t help you cos I can’t see page design. Have a nice day!!!!!

    Michael

    (@alchymyth)

    Forum Moderator

    all images in the header are automatically scaled to 100%;
    try to add a css id to the logo image and change the style for it;
    example:

    <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img id="logo-image" src="<?php echo bloginfo('stylesheet_directory');?>/images/logo.jpg" alt="<?php bloginfo( 'name' ); ?>"/></a></span></h1>

    and add to style.css of your child theme:

    img#logo-image { width: auto; }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add logo and change css property’ is closed to new replies.