Summer Sale | Flat 10% OFF on All Themes Package. Use Coupon Code Summer24 | Limited Time Offer! Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

CSS for logo

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6375
    Tina OConnell
    Participant

    If I want to simply edit the size of the logo on this page, what is the CSS class?
    http://youragelessimage.com/ is my page.. I tried firebug and ever class listed when edited in additional css does not make it bigger. I just want to make the logo double the size it is now with less padding. I need the class or element name so I can do this for the logo.

    #6377
    Tina OConnell
    Participant

    I tried this.. and it worked but made the image choppy and it was uploaded in much higher resolution
    so not sure why.

    img.custom-logo {width: 120px;
    }

    This only made it bigger just not clean. I am guessing I should be doing this another way? Perhaps the container?

    #6379
    Grace Themes
    Member

    Hi Tina,

    The size of the logo image is fixed.
    If you want to use big size logo image you need to define logo image size in functions.php file

    Go to Appearance -> Editor -> functions.php
    at line no. 40 you will find the below code, just change the logo image height and width that you want to use

    add_theme_support( 'custom-logo', array(
            'height'      => 100,
    	'width'       => 100,
    	'flex-height' => true,
    ) );

    Regards
    Grace Themes

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.