Change site title font size; change alignment of page title

  • Unknown's avatar

    Two quick questions:

    1. I’d like to make the site title of my blog larger.

    2. I’d like the page titles to align on the left with the text.

    They seem like easy fixes, but I don’t know CSS at all.

    My blog, using Ryu theme, is here: http://carrieandchris2014.com/

    Thanks much.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there, I see you have #1 taken care of. #2 is a little complicated and requires a number of media queries to keep the title for the pages aligned with the content at all browser window/screen widths. I’m working on that for you now.

  • Unknown's avatar

    For number 2, I was making this too difficult, but finally came back to KISS (keep it simple…). Add the following to make the page titles align with the content at all browser/device widths. The last rule hides the “edit” link that only you will see when logged in since it was overlaying onto the content with the following change.

    @media screen and (min-width: 889px) and (max-width: 1319px) {
        .entry-title {
            max-width: 548px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }
    }
    @media screen and (min-width: 1320px) {
        .entry-title {
            max-width: 696px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }
    }
    .entry-meta {
        visibility  : hidden;
    }
  • Unknown's avatar

    Excellent. Thanks very much. I really appreciate it.

  • Unknown's avatar
  • The topic ‘Change site title font size; change alignment of page title’ is closed to new replies.