You've already forked wc-bootstrap
21 lines
604 B
Twig
21 lines
604 B
Twig
|
|
{#
|
||
|
|
# Content Wrapper Start (Bootstrap 5 Override)
|
||
|
|
#
|
||
|
|
# Replaces WooCommerce's theme-specific wrapper divs with Bootstrap 5 layout.
|
||
|
|
# When the parent theme wraps the page (_theme_wrapped), this outputs nothing
|
||
|
|
# since base.html.twig already provides the container.
|
||
|
|
#
|
||
|
|
# WooCommerce PHP equivalent: global/wrapper-start.php
|
||
|
|
#
|
||
|
|
# @package WcBootstrap
|
||
|
|
# @since 0.1.0
|
||
|
|
#}
|
||
|
|
|
||
|
|
{% set _wrapped = _theme_wrapped is defined and _theme_wrapped %}
|
||
|
|
|
||
|
|
{% if not _wrapped %}
|
||
|
|
<div class="container my-4">
|
||
|
|
<div id="primary" class="content-area">
|
||
|
|
<main id="main" class="site-main" role="main">
|
||
|
|
{% endif %}
|