Add a specific class when having sections with background color, image, or video option

Created on 10 May 2021, about 3 years ago
Updated 27 July 2023, 11 months ago

Problem/Motivation

Needs to add a specific class when having background image option.
Having no custom styling selector for sections
to have advance styling for section with background.
bg-image, bg-color, bg-video

Steps to reproduce

Given that a Landing page with Layout Builder had number of sections
And number of sections do have a background color
And some sections have a background image or background video
When trying to select and custom style all sections with BG colors only
And same for BG images or videos
But with other styling
Then no direct way to select selections with BG colors, or BG image

Proposed resolution

Have the following

  1. .bg-color
  2. .bg-image
  3. .bg-video

Remaining tasks

  • βœ… File an issue about this project
  • βœ… Add bg-color, bg-image, bg-video classes for sections with backgrounds
  • βœ… Testing to ensure no regression
  • βœ… Automated unit/functional testing coverage
  • βž– Developer Documentation support on feature change/addition
  • βž– User Guide Documentation support on feature change/addition
  • βœ… Code review from Bootstrap Styles team member
  • βœ… Full testing and approval
  • βœ… Credit contributors
  • βœ… Review with the product owner
  • βœ… Release bootstrap_styles-1.1.1 β†’

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3213112 β†’ : Added a specific class when having sections with background color, image, or video option
✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan n.ghunaim Amman - Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024