[Resolved] Add a border to the post boxes in the home webpage

Home Forums Support [Resolved] Add a border to the post boxes in the home webpage

Home Forums Support Add a border to the post boxes in the home webpage

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #271234
    Mario

    Dear Tom,

    I would like to add a border to the boxes of this home page (www.vivaelsoftwarelibre.com). I would like to manage the color and the type (dashed, and so on).

    And, if possible, I would like to add also a border to the panels of the sidebar.

    How can they be achieved?

    I am using GP 1.3.41

    Thanks

    #271241
    Leo
    Staff
    Customer Support

    Hi Mario,

    Try this CSS:

    .generate-columns .inside-article {
        border: 2px solid #000000;
    }
    .sidebar .widget {
        border: 2px solid #000000;
    }

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

    You can change the type by replacing solid and color by replacing the hex color code

    Let me know if this works.

    #271243
    Leo
    Staff
    Customer Support

    Edit the code above slightly.

    #271245
    Mario

    Wow! what a quick answer!

    Thanks Leo, it works perfectly. However, is it possible to exclude boxes of the sidebar?

    #271246
    Leo
    Staff
    Customer Support

    Not quite sure what you meant? Thought you wanted borders around the sidebar as well?

    If not you can just remove this part from above:

    .sidebar .widget {
        border: 2px solid #000000;
    }
    #271250
    Mario

    That was exactly what I meant. Thanks for your support!

    #271259
    Leo
    Staff
    Customer Support

    You’re welcome 🙂

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