WordPress.org

Forums

Ryu
[resolved] [closed] How to align page body with page title? (6 posts)

  1. vincerouge
    Member
    Posted 1 year ago #

    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

  2. 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.

  3. vincerouge
    Member
    Posted 1 year ago #

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

    That's exactly what I want.

  4. 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:

    http://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.

  5. keenonu
    Member
    Posted 1 year ago #

    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

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.