WordPress.org

Support

Support » How-To and Troubleshooting » how to resize site logo on the Magazine Basic theme?

how to resize site logo on the Magazine Basic theme?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Your image is the same size. It is centered in this div with alot of white space around it:

    #site-logo {
        display: inline-block;
        padding: 30px 20px 0;
    }

    if you find the above in your css and add the following temporarily, you will see where inside the div your image is:

    #site-logo {background:pink;
        display: inline-block;
        padding: 30px 20px 0;
    }

    After seeing where the image is located, remove the background:pink;

    I don’t know where to find this code to change it. It’s not in the header code.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    You don’t need to find where this code is, you never make changes directly in theme files unless through a Child Theme.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    If you just need to make a CSS change then try using a Custom CSS plugin.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Either way you need to create new styles that overriding existing ones.

    “I don’t know where to find this code to change it. It’s not in the header code.”

    I offered this only for you to see where your image was, which is why I said to remove it after. Any changes, like Andrew Nevins said, should be done in a Child Theme or with a Custom CSS plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how to resize site logo on the Magazine Basic theme?’ is closed to new replies.