• Resolved kateshields

    (@kateshields)


    I’m hoping to add a background color to the tag description in the archives page so that it will match other pages on the site such as this one https://www.beyondcatastrophe.com/resources/. I’ve tried the CSS code below but it’s not working. I’m guessing it’s because I’ve got the name of the archive description class wrong for Neve?

    .nv-archive-description {
    background-color: rgb(249, 229, 202);
    }

    Also, I was wondering if there is any place in the Neve documentation to find the names for the different classes used in the Neve theme.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, kateshields, I’m another user of the Neve theme.

    I’m assuming that you were able to resolve your issue as I inspected the pages that you linked to and I can see that the tag section is colored the same for both pages.

    To be able to see the classes, I would suggest that you use the Chrome development tools to inspect the page so that way you can determine what to CSS selectors should be used for styling purposes.

    Thread Starter kateshields

    (@kateshields)

    Thanks for the hints. To clarify, I’m hoping that on https://www.beyondcatastrophe.com/post_tag/academic/ the tag description text “Resources from academic journals, books or conferences” will be in a beige box.

    The inspection feature is very helpful. Except the only classes I have not been able to find are the ones for the the tag name, and the tag description.

    Hi @kateshields!

    Thanks for choosing Neve!

    It’s possible to achieve the style you want by adding the code below in the Additional CSS section within the Customizer.

    .archive.tag .nv-page-title p{
        background-color: #f9e4c8 !important;
        max-width: fit-content !important;
    }

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Styling category/tag description in archives’ is closed to new replies.