• Resolved emanoyhl

    (@emanoyhl)


    Hi there, sorry for dumb question because i think i have tried everything, but how does one center the logo in header?

    I’ve created a child theme and i cannot seem to center this tiny part

    Thank you!!

    ps LUV this theme ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter emanoyhl

    (@emanoyhl)

    i’ve added this in additional css to get the border just fine to match the site:

    .custom-logo-link img {
    	border-radius: 1em;
    	border: var(--border-width--400)
    		solid var(--border-color);
    }

    but cannot seem to center it…

    • This reply was modified 2 years, 6 months ago by emanoyhl.
    • This reply was modified 2 years, 6 months ago by emanoyhl.
    Thread Starter emanoyhl

    (@emanoyhl)

    ok so i think i’m onto something just figured the social links are directly div to the right of the custom logo therefore i’m assuming they are all centered correctly – would this then be a template issue?

    i will check and report back ??

    Thread Starter emanoyhl

    (@emanoyhl)

    still need help ?? even when removing the social links entry the logo won’t center…

    any help greatly appreciated ?? thank you!

    Theme Author Gratis Themes

    (@knifftech)

    Hey, you could try this.
    however I don’t know how well it will work with different logos, social icons, images, etc.

    
    .site-header {
      flex-direction: column;
      align-items: center;
    }
    
    • This reply was modified 2 years, 6 months ago by Gratis Themes.
    Thread Starter emanoyhl

    (@emanoyhl)

    oh that works perfectly thank you so much!! but now the funny part is that i now prefer the logo on left with social icons on right centered ?? so i added:

    .social-links {
    	align-content: center;
    }

    so that it is totally inline with the logo ??

    thank you for the quick response!!

    Thread Starter emanoyhl

    (@emanoyhl)

    thank you again!! ?? i hope this helps others in the future and i look forward to helping out when i can

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Logo centering’ is closed to new replies.