[Resolved] about the border recover

Home Forums Support [Resolved] about the border recover

Home Forums Support about the border recover

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #2368264
    bruce

    hello

    please see this pic:

    i set the container’s border as 1px,but the second product’s top and buttom’s border recover,then the line only 1px ,but color is more heavy .

    how to fix it?

    thanks.

    #2368338
    Fernando
    Customer Support

    Hi Bruce,

    Can you provide the link to where we can view this specific table in your site?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2369346
    bruce

    hello

    thanks.

    #2369352
    bruce

    please see the private info.

    #2369361
    Fernando
    Customer Support

    I see. Just add Top Border, and remove the bottom border. We’ll add the bottom border of the last item through custom CSS.

    #2369800
    bruce

    hello

    can you give me the details about custom css ?

    thanks.

    #2370137
    Ying
    Staff
    Customer Support

    Hi Bruce,

    I saw you added a negative margin to offset the border, it works too.

    or you can try removing the bottom border and negative margin, and add this CSS:

    .one-container.blog .dynamic-content-template:last-child, .one-container.archive .dynamic-content-template:last-child {
        border-bottom: 1px solid;
    }
    #2371919
    bruce

    hello Ying,

    sorry about it.

    yesterday i use the custom css ,it works.

    but today it not work.

    can you help me check it again ?

    thanks.

    #2371925
    Fernando
    Customer Support

    Try this instead:

    body:is(.blog,.archive) .dynamic-content-template:last-of-type > .gb-container {
        border-bottom: 1px solid;
    }
    #2372554
    bruce

    Hello Fernando,

    perfect.

    thanks very much.

    best regards!

    #2372850
    Fernando
    Customer Support

    You’re welcome Bruce!

    #2404476
    bruce

    hello

    i have one new issue about this question.

    body:is(.blog,.archive) .dynamic-content-template:last-of-type > .gb-container {
        border-bottom: 1px solid;
    }

    is ok.

    how to set this border-bottom’s color.

    border-color:#ddd ?

    thanks.

    #2404701
    David
    Staff
    Customer Support

    Hi there,

    change this CSS property:

    border-bottom: 1px solid;

    to include your color eg.

    border-bottom: 1px #ff0000 solid;

    #2405143
    bruce

    it works.

    thanks.

    #2405937
    David
    Staff
    Customer Support

    Glad to hear that!

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