Navigation überspringen

[Gelöst] Creating alternating rows in Toolset Blocks/Block Editor Views

This support ticket is created vor 4 Jahren, 11 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Gavin vor 4 Jahren, 11 Monaten.

Assistiert von: Minesh.

Author
Artikel
#1541583

Hello

Is there a work-around/method to implement alternate styled rows in the Loop using the Block Editor for Views?

e.g. In classic Views you could use wpv-item (odd/even)

Many Thanks in advance!

#1541963

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You can add the custom CSS to your view's Custom CSS section to target the nth-child(even) and nth-child(odd) and set the background color.

Please check the following screenshot that may help you:
=> versteckter Link

#1542071

Nice solution - thanks.