wagtail-streamfield

Wagtail: how to change css class in auto-generated block?

Wagtail: how to change css class in auto-generated block? Question: I have a StructBlock inside StreamFied: courses = StreamField([ (‘Courses’, StructBlock([ (‘Start_date’, CharBlock()), (‘Name’, CharBlock()), (‘Description’, TextBlock()), (‘Image’, ImageChooserBlock()), (‘Price’, CharBlock()), ], icon = ‘plus’, template = ‘blocks/course_block.html’)) ], True) content_panels = Page.content_panels + [FieldPanel(‘courses’)] In html i have following structure: /index.html <div class="swiper-wrapper" id="swiper-wrapper-dfa89409b3fe2577" …

Total answers: 1