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 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
Css
@media screen and (max-width: 550px) {
.hero-slider .swiffy-slider {
height: 500px;
}
}