Skip to main content

Let you choose between fixed or fluid containers

Project description

License: LGPL-3

Snippet container width type chooser

This module was written to extend the functionality of the website editor to support choosing the width type between the available Bootstrap container types:

  • Fixed, which will have a fixed width that will depend on the user’s screen width, and usually will have an empty margin at each side.

  • Fluid, which will always fill 100% of the available width space.

Odoo’s default value is usually Fixed, and remains the same.

Usage

To use this module, you need to:

  • Go to any website page.

  • Press Edit.

  • Press Insert blocks.

  • Insert any block that uses a container, such as Text block.

  • Click on an inner element and press Select container block (the button to select current element’s parent) until you get to an HTML element with the class container or container-fluid.

  • Select Customize > Container width type and choose one from there.

Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page