Forums
Home / Theme: Corpo / How to center my logo
(@yellow0102)
11 years 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
(@stgba)
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 ??
(@meiji_lythtis)
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; }
(@crouchingbruin)
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.
(@laraib110)
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