[Resolved] Category page white boxes

Home Forums Support Category page white boxes

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1001637
    Conor

    Hi,

    When I give a post a category, it shows up on that categories page perfectly. However, my issue is that the top part of the category pages, where I have the category title and the category description, is not inside of a white box like the rest of the elements on my site. How can I fix this?

    #1001837
    Leo
    Staff
    Customer Support

    Hi there,

    Give this CSS a shot:

    .separate-containers.category .page-header {
        padding: 40px 40px 40px 28px;
        background-color: #ffffff;
    }

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

    Let me know if this helps 🙂

    #1001854
    Conor

    Thank you

    #1001855
    Leo
    Staff
    Customer Support
    #1035662
    Conor

    Hi Leo,

    I’m just revisiting this thread for two reasons.

    1) I’m wondering how to do the same thing for the tags pages and the author profile pages
    2) I’m wondering how to get the line shadow that I have on my other white container boxes onto the category, tags, and profile page.

    All the best, Thanks so much for everything,
    C

    #1035686
    David
    Staff
    Customer Support

    Hi there,

    1. Use this CSS instead to target all archives:

    .separate-containers.archive .page-header {
        padding: 40px 40px 40px 28px;
        background-color: #ffffff;
    }

    2. Update your box-shadow CSS to include the page-header class this is being used to add that content:

    .inside-article,
    .sidebar .widget,
    .comments-area,
    .page-header {
        border: 1px solid rgba(232, 234, 237, 1);
        box-shadow: 0 0 10px rgba(232, 234, 237, 0.5);
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.