[Resolved] Adjust spacing in archives document

Home Forums Support [Resolved] Adjust spacing in archives document

Home Forums Support Adjust spacing in archives document

  • This topic has 9 replies, 4 voices, and was last updated 8 years ago by Tom.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #187416
    celito

    I have a LearnDash page called Course List which is based on the WordPress’ archives file. How can I reduce the space between the the last line of the previous paragraph and the header (h2, h3) of the next paragraph? Tried looking at archives.php but still has no idea how to bring the elements closer. Thanks.

    #187493
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Any chance you can link me to the page?

    #187560
    Celito

    Hi Tom,

    Thanks for the quick reply. The page in question is at http://accounteach.net/?post_type=sfwd-courses.
    The page is automatically created by LearnDash based on the courses that were created, based on WordPress archives.

    Celito

    #187583
    Jamal

    Hi,

    Give this a try

    .one-container .inside-article {
        padding: 0 0 0 0;
    }

    I cant guarantee that it wont change other pages but works on this particular page.

    #187585
    Tom
    Lead Developer
    Lead Developer

    Couple things will help here:

    footer.entry-meta {
        display: none;
    }
    
    .post-type-archive-sfwd-courses .type-sfwd-courses {
        margin-bottom: 0;
    }
    #187596
    Celito

    Thanks Jamal, it improved the appearance for this page.

    #187597
    Celito

    Thanks Tom, this did it; even tried negative values for margin-bottom and was able to manipulate that white space. I failed to ask though how to reduce that space

      after the header

    .

    .

    #187690
    Tom
    Lead Developer
    Lead Developer

    The space below the title? Try this:

    .post-type-archive-sfwd-courses .type-sfwd-courses .entry-content {
        margin-top: 10px;
    }
    #187811
    Celito

    Thank you so much. Now I got them where I want them. Really appreciate it.

    #187833
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.