How to hide a divider if the last in a repeater

Hi Guys,

I have this sitehttps://bictontravel.com.au/offer/scenic-antarcticas-ross-sea-majestic-ice-wildlife/

I am trying to hide the divider if it’s the last one of the acf repeater.

I have tried the below but with no luck.
image

Does anyone know how i could pull this off?

Thanks,
David

Hi David,
Welcome to the forum!

You can achieve that with CSS:

.brxe-5cfcea:last-child .brxe-divider {
  display: none;
}

Hey David,

since we don’t have a DDT for loop index i would solve this with css

.loop-element:last-child .divider{display:none}

or

.loop-item:not(:last-child) { border-bottom: 1px solid black; padding-bottom: 30px;}.

Greetings

what is a DDT? Sorry im a Noob!

DDT is a dynamic data tag.