- This topic has 14 replies, 4 voices, and was last updated 3 years, 5 months ago by
David.
-
AuthorPosts
-
October 9, 2022 at 8:32 pm #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.
October 9, 2022 at 11:26 pm #2368338Fernando 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
October 10, 2022 at 6:22 pm #2369346bruce
hello
thanks.
October 10, 2022 at 6:58 pm #2369352bruce
please see the private info.
October 10, 2022 at 7:24 pm #2369361Fernando 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.
October 11, 2022 at 5:44 am #2369800bruce
hello
can you give me the details about custom css ?
thanks.
October 11, 2022 at 9:45 am #2370137Ying
StaffCustomer SupportHi 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; }October 13, 2022 at 12:08 am #2371919bruce
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.
October 13, 2022 at 12:14 am #2371925Fernando Customer Support
Try this instead:
body:is(.blog,.archive) .dynamic-content-template:last-of-type > .gb-container { border-bottom: 1px solid; }October 13, 2022 at 9:01 am #2372554bruce
Hello Fernando,
perfect.
thanks very much.
best regards!
October 13, 2022 at 5:11 pm #2372850Fernando Customer Support
You’re welcome Bruce!
November 7, 2022 at 2:14 am #2404476bruce
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.
November 7, 2022 at 6:08 am #2404701David
StaffCustomer SupportHi there,
change this CSS property:
border-bottom: 1px solid;to include your color eg.
border-bottom: 1px #ff0000 solid;November 7, 2022 at 9:56 am #2405143bruce
it works.
thanks.
November 8, 2022 at 2:45 am #2405937David
StaffCustomer SupportGlad to hear that!
-
AuthorPosts
- You must be logged in to reply to this topic.