• 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)
  • In the other thread you mentioned that your site is https://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.

    Thread Starter vincerouge

    (@vincerouge)

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

    That’s exactly what I want.

    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:

    https://css-tricks.com/snippets/css/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

    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.