Support » Theme: Ryu » How to align page body with page title?

  • Resolved vincerouge

    (@vincerouge)


    Hello,

    Is it possible to move the body of each articles up so it is aligned with the articles title ? Right now as it stands, there is some space and it just does not look/read nicely. Is there a way to correct that ?

    Thanks!

    Vince

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    In the other thread you mentioned that your site is http://www.geneva-aeroport.ch

    Do you mean that you want the start of the post title “Une nouvelle grève plane sur l’aéroport” to line up horizontally with the body of the post?

    Or if you’re trying to achieve something else, could you describe it in more detail or provide a link to a sketch or mockup? Thanks.

    Yes, I want to the title line up horizontally with the body of the post.

    That’s exactly what I want.

    Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    This bit of custom CSS should do that alignment:

    .entry-title {
      margin-left: 285px;
    }

    You may want to restrict that positioning to only larger screen sizes by putting it within a CSS media query:

    Media Queries for Standard Devices

    Don’t edit the theme files directly, otherwise your changes will be overwritten when the theme is updated.

    An easy way to add custom CSS is to install the Jetpack plugin and activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS.

    As alternatives, you could either install a standalone custom CSS plugin, or create a child theme.

    hi, I have the same problem. and I can not find this line in the code. What should I do to reduce this distance?
    I will be grateful for your response.
    Kinga

    esmi

    (@esmi)

    Forum Moderator

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    I am now closing this 3 month old topic as it references an older version of WordPress & has been resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to align page body with page title?’ is closed to new replies.