[Resolved] Separating items on blog index page

Home Forums Support [Resolved] Separating items on blog index page

Home Forums Support Separating items on blog index page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #318044
    Hazel

    Hi Tom
    I wonder if there is a way to put horizontal rules between items on the blog index page. The page concerned is http://smarttrading.hazelkey.com/news/.
    Cheers
    Allan

    #318045
    Leo
    Staff
    Customer Support

    Hi Allan,

    Like a bottom border between the blog posts? If so try this:

    .blog .inside-article,
    .archive .inside-article {
        border-bottom: 2px solid #000000;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #318047
    Hazel

    Thanks Leo I pasted the code in Simple CSS but this doesn’t seem to be working. I have tried in another browser in case it was a caching issue.

    #318048
    Leo
    Staff
    Customer Support

    Hmm it should. I don’t see the code being added.

    Make sure the code is in global editor and not meta box.

    #318050
    Leo
    Staff
    Customer Support

    In Simple CSS you have this code:

    @media (max-width: 768px) {
        .page-content, .entry-content,
        .entry-summary {
            margin: 10px;
        }

    Make sure you close the @media bracket:

    @media (max-width: 768px) {
        .page-content, .entry-content,
        .entry-summary {
            margin: 10px;
        }
    }
    #318055
    Hazel

    Perfect, thanks very much.

    #318057
    Leo
    Staff
    Customer Support

    Glad I could help!

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