Bootstrap Utility Example
p-4 rounded-4 shadow m-auto position-relative overflow-hidden
Css
Custom CSS Example
custom-image
Css
.custom-image .g-col {
cursor: pointer;
}
}
Custom Callout Example
callout
Css
.callout {
width: 100%;
max-width: 850px;
}
.callout > * {
max-width: 65ch;
z-index:1;
}
.callout::after {
content: "";
background: url(data:image/svg+xml;base64,PCEtLT94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/LS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9InJnYmEoODUsIDAsIDI1NSwgMSkiIGNsYXNzPSJiaSBiaS1hc3RlcmlzayIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNOCAwYTEgMSAwIDAgMSAxIDF2NS4yNjhsNC41NjItMi42MzRhMSAxIDAgMSAxIDEgMS43MzJMMTAgOGw0LjU2MiAyLjYzNGExIDEgMCAxIDEtMSAxLjczMkw5IDkuNzMyVjE1YTEgMSAwIDEgMS0yIDBWOS43MzJsLTQuNTYyIDIuNjM0YTEgMSAwIDEgMS0xLTEuNzMyTDYgOCAxLjQzOCA1LjM2NmExIDEgMCAwIDEgMS0xLjczMkw3IDYuMjY4VjFhMSAxIDAgMCAxIDEtMXoiLz4KPC9zdmc+);
position: absolute;
height: 200px;
background-position: center;
right: 0;
top: 0;
background-size: 100%;
z-index: 0;
transform: translate(20%, -20%) rotate(45deg);
background-repeat: no-repeat;
aspect-ratio: 1/1;
opacity: 0.6;
}
Brands List
brandsList
Css
.brandsList {
width: 100%;
}
.brandsList .fs-6 {
margin: 0 !important;
}
Reset margins
resetMargins
Css
.resetMargins .fs-6 {
margin: 0 !important;
}
Login Container
cuslogin-container
Css
.cuslogin-container .container-compressed{
max-width: 32rem;
margin: 0px auto;
}
Faq
hbs-faq bg-white
Css
.hbs-faq button.accordion-button{
background-color: transparent;
box-shadow: none;
font-size: 35px;
font-weight: bold;
font-family: var(--font-family);
color: var(--bg);
}
.hbs-faq button.accordion-button:hover{
background-color: transparent;
}
.hbs-faq button.accordion-button:focus{
box-shadow: none;
}
.hbs-faq .accordion-item{
background: #ffffff;
border: 1px solid transparent;
box-shadow: 0 2px 5px 1px rgba(64, 60, 67, .16);
border-radius: 16px;
margin-bottom: 30px;
padding: 35px
}
.hbs-faq .accordion-body {
color: var(--bg);
opacity: 1 !important;
}
Product Page Hero
product-page-hero
Css
.product-page-hero .item_swift_text:after{
content: '';
width: 100%;
height: 100%;
position: absolute;
background: black;
opacity: 0.5;
}
.product-page-hero h1,
.product-page-hero a {
z-index: 1;
}
Find Distributor Callout
find-dist-callout
Css
.find-dist-callout {
background-color: var(--bg);
}
.find-dist-callout .container-xl {
padding: 35px;
border-radius: 15px;
background-color: white;
}
Blog Item
blog-item
Css
.blog-item article {
padding: 20px !important;
border: 2px solid var(--primary) !important;
border-radius: 10px !important;
}
.blog-item .card-footer > div > div {
display: none !important;
}
Blog Detail
blog-detail
Css
.blog-detail .item_swift_article {
padding: 40px !important;
box-shadow: 0 2px 5px 1px rgba(64,60,67,.16)
}
.blog-detail .item_swift_article img {
border-radius: 10px
}
.blog-detail .item_swift_article h2{
text-align: center
}
.blog-detail .item_swift_article .mb-0-last-child{
max-width: 100% !important;
}
Testimonial
testimonial
Css
.testimonial .item_swift_text {
padding: 30px !important;
box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
}
Careers Hero
careers-hero
Css
.careers-hero .grid{
box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
padding: 30px;
border-radius: 10px;
position: relative;
top: -100px;
background-color: white;
}
Container Primary Border
cont-primary-border
Css
.cont-primary-border .grid{
padding: 20px;
border: 2px solid var(--primary);
border-radius: 15px;
}
HubSpot Form
bg-white form-container #hubspot-form-container
Css
/* Main container for the HubSpot form */
#hubspot-form-container {
width: 100%; /* Ensure full width */
max-width: 100%; /* Remove width restriction */
margin: 0 auto;
padding: 0; /* Remove padding */
box-sizing: border-box;
background-color: #ffffff;
border: 1px solid transparent;
box-shadow: 0 2px 5px 1px rgba(64, 60, 67, .16);
border-radius: 16px;
padding: 35px;
margin-bottom: 30px;
}
/* Form fields styling */
#hubspot-form-container input,
#hubspot-form-container textarea,
#hubspot-form-container select {
width: 100%;
box-sizing: border-box;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
font-family: var(--font-family);
color: var(--bg);
background-color: transparent;
}
Column Primary Border
column-border-primary
Css
.column-border-primary .g-col > div{
padding: 20px !important;
border: 2px solid var(--primary) !important;
border-radius: 10px !important;
}
Become a distributor form
dist-form
Css
.dist-form .mb-0-last-child{
width: 100%;
}
.dist-form .grid{
box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
padding: 20px;
}
Container Box Shadow
container-box-shadow
Css
.container-box-shadow .grid{
box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
padding: 40px;
border-radius: 15px;
position: relative;
}
Product Highlight
product-highlight
Css
.product-highlight .item_swift_image{
width: 70% !important;
float: right;
margin-right: -40px !important;
}
__Merge With Next Container
__merge_next
Css
Industry Blog Module
industry-blog
Css
.industry-blog article{
text-align: center;
}
.industry-blog article a{
border-radius: 15px;
overflow: hidden;
}
.industry-blog .card-footer > div{
align-items: center !important;
}
Table - Striped Rows
table table-striped g-col-12 item_swift_app product-specs-table test
Css
.product-specs-table .g-col-12 {
width: auto;
height: 320px;
}
.product-specs-table .g-col-12.h4 {
overflow-y: visible;
height: auto;
width: auto;
}
.table.table-striped {
overflow-y: scroll;
min-height: 320px;
}
.product-specs-table::-webkit-scrollbar {
width: 10px;
}
.product-specs-table::-webkit-scrollbar-track {
-webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
background-color: #f9f9fd;
border-radius: 10px;
}
.product-specs-table::-webkit-scrollbar-thumb {
border-radius: 10px;
background: linear-gradient(45deg, rgb(55, 114,180), rgb(239, 239, 239));
}
.product-specs-table.__item_swift_app {
overflow-y: visible;
height: 100%;
width: 100%;
}
Product Page - Short Description Bullets
py-0 px-2 pb-2
Css
::marker {
font-size: 20px;
color: #061d49;
}
.py-0.px-2.pb-2.item_swift_1columncomponentedit > div > ul {
list-style-type: square; !important;
list-style-position: outside; !important;
}
Footer New
Css
footer{
background-color: var(--bg);
}
footer figure > .icon-auto{
width: 100%
}
footer .item_swift_1columnflex:last-child .col{
padding: 10px 0;
border-top: 1px solid var(--primary);
}
Detail Page - Custom Width
container-xl product-detail
Css
product-detail .container-xl {
max-width: 1192px;
}
Home Product Categories
product-catg
Css
.product-catg .item_swift_textandimage:hover{
background-color: var(--primary) !important;
color: white !important;
}
.product-catg .item_swift_textandimage:hover figure img{
filter: brightness(0) invert(1);
}
.product-catg .item_swift_textandimage:hover .mb-0-last-child span,
.product-catg .item_swift_textandimage:hover .mb-0-last-child a{
color: white !important;
}
Home Industries
industy-catg
Css
.industy-catg .item_swift_text:hover .mb-0-last-child span,
.industy-catg .item_swift_text:hover .mb-0-last-child a{
color: white !important;
}
.industy-catg .item_swift_text:hover::after {
content: '';
background-color: var(--primary);
padding: 5px;
position: absolute;
border-radius: 10px;
opacity: 0.4;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
Home Feature Products
feature-slider
Css
.feature-slider > .container-xl > .grid{
width: 60%;
margin: 0 auto;
}
.feature-slider img{
height: 60% !important;
object-fit: fill !important;
}
.feature-slider{}
.feature-slider li > div{
position: relative !important;
height: auto !important;
top: auto !important;
right: auto !important;
bottom: auto !important;
left: auto !important;
}
Home Hero Slider
hero-slider theme-new-hbg-blue slide-visible slider-container swiffy-slider slider-nav swiffy-slider button
Css
@media screen and (max-width: 550px) {
.hero-slider .swiffy-slider {
height: 500px;
}
}
About Us Page - Responsive CTA
btn-primary text-nowrap btn img-fluid
Css
/*a.text-nowrap.btn.btn-primary {
white-space: normal;
}*/
.img-fluid {
width:100%;
}
Blog Layout
d-flex embed-container
Css
@media only screen and (min-width: 768px) {
div.d-flex.flex-column.gap-0.h-100.position-relative.item_swift_textandimage {
padding: 0px 100px 0px 100px !important;
}
}
Blog Author
img-fluid
Css
img.img-fluid.rounded-circle {
display:none;
}
Related Series
btnblue text-price h6
Css
span.btnblue.center-span {
display:none;
}
span.text-price.fw-bold.colorgreen {
display:none;
}
h3.h6.opacity-85 {
display:none;
}
h2.h6.mw-75ch{
display:none;
}
Sale
feather feather-sun
Css
svg.feather.feather-sun {
color:#ff9001;
}
Product Group Icon fix
cus-prolist__grpimg
Css
.cus-prolist__grpimg {
width: 50%;
height: 50%;
}
No link decoration
row col item_swift_5columnsflex d-flex flex-row
Css
a {
text-decoration: none;
font-weight: 300;
}
a:hover {
text-decoration: underline;
}
a.text-nowrap.btn.btn-primary {
text-decoration: none;
}
/* 1) Force all flex rows to stretch children vertically */
main .d-flex.flex-row {
align-items: stretch !important;
}
/* 2) Make each column a vertical flex container */
main .col.flex-grow-1 {
display: flex;
flex-direction: column;
flex: 1 1 0% !important; /* equal WIDTH */
min-width: 0; /* allow content to shrink */
}
/* 3) Make the visual "box" inside each column fill height */
main .col.flex-grow-1 > a,
main .col.flex-grow-1 > div {
flex: 1 1 auto;
display: flex;
flex-direction: column;
height: 100%;
}
/* 4) Keep inner content from breaking sizing */
main .col.flex-grow-1 img {
max-width: 100%;
height: auto;
display: block;
}
/* ==========================================================
OPTIONAL: tighten to ONLY the 5-column Swift block
(uncomment if you want it scoped)
========================================================== */
.item_swift_5columnsflex .d-flex.flex-row {
align-items: stretch !important;
}
.item_swift_5columnsflex .col.flex-grow-1 {
flex: 1 1 0% !important;
display: flex;
flex-direction: column;
min-width: 0;
}
.item_swift_5columnsflex .col.flex-grow-1 > * {
flex: 1 1 auto;
height: 100%;
}
Slider Mobile Height fix
swiper swiper-wrapper swiper-slide swifty-slider__container
Css
/* Mobile + Tablet: enforce min height */
@media (max-width: 1024px) {
#Slider_35577 {
min-height: 400px !important;
height: 400px !important; /* auto it flexible if content needs more */
}
}
/* If the slider uses an inner wrapper that sets height, include these too */
@media (max-width: 1024px) {
#Slider_35577 .swiper,
#Slider_35577 .swiper-wrapper,
#Slider_35577 .swiper-slide,
#Slider_35577 .swifty-slider,
#Slider_35577 .swifty-slider__container {
min-height: 400px !important;
}
}
5 Columns on Desktops
item_swift_5columns
Css
/* Swift 5 columns on lg+ without flex-grow hacks */
@media (min-width: 992px) {
.item_swift_5columns > .col {
width: 20%;
flex: 0 0 auto; /* don't stretch/grow */
}
}
p {
font-weight: 300;
}
Product title fix
dw-text-align-start
Css
h1.dwp-text-align-start {
font-size: 1.8rem;
}
Plain links
Css
a {
text-decoration: none;
font-weight: 300;
}
a:hover {
text-decoration: underline;
}
a.text-nowrap.btn.btn-primary {
text-decoration: none;
}
4 Columns on Mobile
Css
/* Swift 4 columns on sm+ without flex-grow hacks */
@media (max-width: 992px) {
.item_swift4columns > .col {
width: 20%;
flex: 0 0 auto; /* don't stretch/grow */
}
}
p {
font-weight: 300;
}
Autopilot
item_swift_text h-100 mb-0-last-child be-related-link-container
Css
div.h-100.position-relative.d-flex.flex-column.mb-0-last-child.p-0.align-items-center.justify-content-center.text-center.theme theme-new-hbg-blue-light-blue-link.item_swift_text{
border-radius:0px !important;
}
.mb-0-last-child.text-inherit.opacity-100{
margin-left: auto;
margin-right: auto;
}
@media (max-width: 768px) {
.be-related-link-container {
text-align: left;
padding-left: 10px;
}
}
Available options
theme-hbg-yellow-header-transparent-bg
Css
div.w-100.h-100.theme.theme-hbg-yellow-header-transparent-bg {
margin: 0px 30px;
}
Gallery Scrolling
dw-thumbs
Css
/*.product-specs-table .g-col-12 {
width: auto;
height: 320px;
}
.product-specs-table .g-col-12.h4 {
overflow-y: visible;
height: auto;
width: auto;
}
.table.table-striped {
overflow-y: scroll;
min-height: 320px;
}*/
.dw-thumbs::-webkit-scrollbar {
width: 10px;
}
.dw-thumbs::-webkit-scrollbar-track {
-webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
background-color: #f9f9fd;
border-radius: 10px;
}
.dw-thumbs::-webkit-scrollbar-thumb {
border-radius: 10px;
background: linear-gradient(45deg, rgb(55, 114,180), rgb(239, 239, 239));
}
/*.dw-gallery-grid {
overflow-y: visible;
height: 100%;
width: 100%;
}*/