[resolved] the distance between the posts Ryu (8 posts)

  1. keenonu
    Posted 2 years ago #

    Hi, My wordpress psychoterapianlpt.pl
    I don't know how to change / remove (in the CSS editor), the distance between the main menu and the Articles and the distance between the posts because they are wide.
    Right now as it stands, there is some space and it just does not look/read nicely. Is there a way to correct that ?

    I will be grateful for your help...

  2. ErnestClose
    Posted 2 years ago #

    Hi keenonu, If you look at the css for .hentry you will notice lots of padding at the top and bottom of each article. You can fix it by adding this to your custom css:

    .hentry {
    padding: 30px 0 5px;

    This will reduce the space on each article for the front page and the post pages.
    Let me know if this works for you.


    Ernest Close

  3. keenonu
    Posted 2 years ago #

    YES :)))) this works :)
    Thank you very much!



  4. ErnestClose
    Posted 2 years ago #

    Always a pleasure.

  5. Glad you found the solution!

    Just a heads-up that if you made this modification directly in the theme's style.css file, the change will be overwritten the next time the theme is updated with a new version, so please be careful.

    A better 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.

  6. desilove
    Posted 1 year ago #


    How do I do the same thing on a page?

  7. The code above should also apply to pages, since pages also use the .htentry class.

    If you tried it and it isn't working, please provide a link to a page so I can take a look? Thanks.

  8. p.s. in future please start a new thread as this one is already marked as resolved. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic