Severity: 8192
Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 132
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 294
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 168
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 237
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 317
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: 8192
Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_files_driver.php
Line Number: 358
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 282
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 294
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 304
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 314
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 315
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 316
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 317
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 375
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: drivers/Session_files_driver.php
Line Number: 108
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 110
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
Severity: Warning
Message: session_start(): Session cannot be started after headers have already been sent
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/templates/metordash/codeigniter/application/controllers/UIElementsController.php
Line: 7
Function: __construct
File: /var/www/html/templates/metordash/codeigniter/index.php
Line: 327
Function: require_once
See how aspects of the Bootstrap grid system work across multiple devices with a handy table..
Extra small <576px |
Small ≥576px |
Medium ≥768px |
Large ≥992px |
Extra large ≥1200px |
|
---|---|---|---|---|---|
Max container width | None (auto) | 540px | 720px | 960px | 1140px |
Class prefix | .col- |
.col-sm- |
.col-md- |
.col-lg- |
.col-xl- |
# of columns | 12 | ||||
Gutter width | 30px (15px on each side of a column) | ||||
Nestable | Yes | ||||
Column ordering | Yes |
For example, here are two grid layouts that apply to every device and viewport, from xs
to xl
. Add any number of unit-less classes for each breakpoint you need and every column will be the same width.
Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it. You may use predefined grid classes (as shown below), grid mixins, or inline widths. Note that the other columns will resize no matter the width of the center column.
Use col-{breakpoint}-auto
classes to size columns based on the natural width of their content.
Create equal-width columns that span multiple rows by inserting a .w-100
where you want the columns to break to a new line. Make the breaks responsive by mixing the .w-100
with some responsive display utilities.
Bootstrap’s grid includes five tiers of predefined classes for building complex responsive layouts. Customize the size of your columns on extra small, small, medium, large, or extra large devices however you see fit.
For grids that are the same from the smallest of devices to the largest, use the .col
and .col-*
classes. Specify a numbered class when you need a particularly sized column; otherwise, feel free to stick to .col
.
Using a single set of .col-sm-*
classes, you can create a basic grid system that starts out stacked and becomes horizontal at the small breakpoint (sm
).
Don’t want your columns to simply stack in some grid tiers? Use a combination of different classes for each tier as needed. See the example below for a better idea of how it all works.
Gutters can be responsively adjusted by breakpoint-specific padding and negative margin utility classes. To change the gutters in a given row, pair a negative margin utility on the .row
and matching padding utilities on the .col
s. The .container
or .container-fluid
parent may need to be adjusted too to avoid unwanted overflow, using again matching padding utility.
Here’s an example of customizing the Bootstrap grid at the large (lg
) breakpoint and above. We’ve increased the .col
padding with .px-lg-5
, counteracted that with .mx-lg-n5
on the parent .row
and then adjusted the .container
wrapper with .px-lg-5
.
Use flexbox alignment utilities to vertically and horizontally align columns. Internet Explorer 10-11 do not support vertical alignment of flex items when the flex container has a min-height
as shown below. See Flexbugs #3 for more details.
Create equal-width columns that span multiple rows by inserting a .w-100
where you want the columns to break to a new line. Make the breaks responsive by mixing the .w-100
with some responsive display utilities.