Extra Block Types (EBT) - New Layout Builder experience❗
Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.
❗Extra Paragraph Types (EPT) - New Paragraphs experience
Extra Paragraph Types (EPT) - analogical paragraph based set of modules.
It is very important to count the number of divs.
Hello.
I kindly ask for help in solving my task.
There is a field called field_items, which displays items (field_item) with allowed values ranging from one to four. I need to count how many items are displayed and assign a specific width (width) to their divs with the class field_item based on their quantity.
I hope for your assistance! Thank you in advance!