Home › Forums › Feature Requests › Repeater field divider border › Reply To: Repeater field divider border
If you are using the latest version (ACF Pro 5.8.1) i think the following code will help
/* add border to the repeater block row */
.acf-repeater.-block > table > tbody > tr > td {
border-top-width: 5px;
border-top-color: #046f8a!important;
}
/* exclude the forist row */
.acf-repeater.-block > table > tbody > tr:first-child > td {
border-top-width: 0px;
border-top-color: #046f8a!important;
}
/* in case if you got any nested repeater blocks and want to hide the border */
.acf-repeater.-block > table > tbody > tr > td .acf-repeater.-block > table > tbody > tr > td {
border-top-width: 0px;
border-top-color: #E1E1E1;
}
enqueue these styles in the admin.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.