Skip to content
Discussion options

You must be logged in to vote

Flow uses percent based column(25%, 33%, 50%, 66%, 75% 100%). Each Flow widget has following predefined classes for which you can write css rules

  • widget: applies to all widgets
  • widget-{ContentType}: applies to specific content type widget. eg widget-paragraph for Paragraph widget
  • widget-align-{Alignment}: for selected alignment
  • widget-size-{Size}: for selected size %.

Using scss/sass you can define/override any of above css classes without modifying template.

FlowPart template adds a section tag with class flow. If you don't need section tag you can override FlowPart.cshtml.

Another option is to ignore block rendering of section tag by setting display to content for flow class as below.

.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mwentz
Comment options

Answer selected by mwentz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants