Site logo

[Resolved] Adding borders to boxes

Home Forums Support [Resolved] Adding borders to boxes

Home Forums Support Adding borders to boxes

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1635999
    Dan

    On this site https://frontstretch.dev/ I want to add red borders to all the white boxes. Is there a Customizer setting for this or a CSS class I can target?

    Thanks for your time.

    #1636275
    Leo
    Staff
    Customer Support

    Hi Dan,

    Try this CSS:

    .main-navigation .inside-navigation, .inside-article, .sidebar .widget, .paging-navigation {
        border: 2px solid #ff0000;
    }

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

    Let me know if this helps 🙂

    #1636288
    Dan

    Thanks Leo, that’s exactly what I was looking for. Is the a CSS class/ID reference list for GeneratePress somewhere or is it just a matter of using browser dev tools and picking out each element that you need?

    #1636290
    Leo
    Staff
    Customer Support

    is it just a matter of using browser dev tools and picking out each element that you need?

    That’s what we do. There are simply too many classes in GP to list them out.

    We are always happy to help with simple CSS like this though 🙂

    #1636293
    Dan

    Got it. True, that list would really add up. Thanks again.

    #1636295
    Leo
    Staff
    Customer Support

    No problem 🙂

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