WordPress.org

Ready to get started?Download WordPress

Forums

Corpo
How to center my logo (5 posts)

  1. yellow0102
    Member
    Posted 1 month ago #

    Just wondering how I can center my logo and if possible my menu bar (its right under my logo).

    My site is:

    Any help is appreciated. Thanks

  2. stgba
    Member
    Posted 1 month ago #

    You can just add left padding in your style.css for your logo to center it, let's say for 333px

    #logo{
    padding-left: 333px;
    }
    I hope you have a child theme or custom CSS editor... Cheers :)

  3. Meiji
    Member
    Posted 1 month ago #

    Hi :) For me, since the site is responsive, I'd go for adding this in a custom CSS:

    #logo a.logo-img img {
    display: block;
    margin: 1em auto;
    }

  4. CrouchingBruin
    Member
    Posted 1 month ago #

    For the logo, add this CSS:

    #logo {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    }

    As others have mentioned, either create a child theme or use a custom CSS Manager to add the code, since Corpo doesn't support custom CSS.

  5. Web Guru
    Member
    Posted 1 month ago #

    just target your logo as @CrouchingBruin did, and then you can either do it by margin auto or adding padding .. that's all you can do

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.