WordPress.org

Support

Support » Themes and Templates » [Resolved] Logo and Site Title Alignment

[Resolved] Logo and Site Title Alignment

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins
    Forum moderator

    @anevins

    Which files have you been modifying?

    YouGotPowelled
    Member

    @yougotpowelled

    I haven’t modified any yet. I was wondering if there’s a way to align the logo with the header text via the CSS?

    If not, I guess I could just create a logo that contains both the text and image, and then customise the header width so my logo fits.. but I really don’t want to have to do that because I’m unsure on how to change the logo widths to my custom sizes.

    Andrew Nevins
    Forum moderator

    @anevins

    Install this Custom CSS Manager plugin.

    Then use its section of the dashboard to hold your CSS modifications:

    #masthead img { margin-top: -2%; }

    YouGotPowelled
    Member

    @yougotpowelled

    Thanks great, Thank you Andrew.

    Do you know any CSS that would increase the size of my header text? Just to it would scale together a little smoother?

    Thank you for your help, I really appreciate the rapid responses! x

    Andrew Nevins
    Forum moderator

    @anevins

    Add this:

    .site-title { font-size: 3.4rem; }

    Play about with the 3.4

    YouGotPowelled
    Member

    @yougotpowelled

    That’s perfect! Thank you so much Andrew!

    I’ll definitely be giving you a shout if I need anymore help!

    YouGotPowelled
    Member

    @yougotpowelled

    Hey again (Sorry for the double post if it’s against forum rules or something, because I know in some places it is!)

    I’ve set up a separate website with the same theme. Having applied all of the CSS above (and being really happy with the results) I’m now looking to centre the title of each of my posts.

    I have tried applying

    `.entry-header {
    text-align:center;
    }`

    However this seems to over-ride the

    #masthead img { margin-top: -2%; }

    and makes my logo slightly lower than my site title..

    I was just wondering if there’s another code to centre the title of my posts? One that will allow me to keep my logo and site title where they are?

    Site: http://www.yougotpowelled.co.uk

    NEVERMIND- Solved it myself. –Thanks anyway for reading.

    Andrew Nevins
    Forum moderator

    @anevins

    Could you post your solution in case someone needs it in future?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Logo and Site Title Alignment’ is closed to new replies.