How to change Custom Liquid to Full width

Topic summary

A user seeks help making a Custom Liquid section display at full width on their Shopify store. The section currently has padding that prevents it from spanning the entire viewport.

Solutions Provided:

Multiple community members offered CSS-based fixes:

  • Primary solution: Add custom CSS targeting the specific section ID to remove padding:

    #shopify-section-template--23735326343479__custom_liquid_tRyR4D .section.section-blends.section-full {
      padding: 0px !important;
    }
    
  • Implementation: Add the code to theme.css or base.css via the theme code editor (Online Store → Themes → Edit Code)

Issue Encountered:

The user initially reported that applying the fix made all templates full width, not just the intended section. After clarification about proper code placement and targeting the specific section ID, the solution worked correctly.

Status: Resolved. The user confirmed the fix worked after applying the section-specific CSS code.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

.homepage-skypixel-module .swiper-pagination-bullet { border: none; margin: 0; position: initial; } .homepage-skypixel-module .swiper-pagination-bullet:after { display: none; }

@media only screen and (min-width: 768px) {
.m-homepage-skypixel-grids {
display: none;
}
.homepage-skypixel-module {
display: block;
}
}

@media only screen and (max-width: 767px) {
.m-homepage-skypixel-grids {
display: block;
}
.homepage-skypixel-module {
display: none;
}
section.m-homepage-content-grids .stories-module-list a.banner-link, section.m-homepage-skypixel-grids .slide-grid-container .slide-container {
height: 114vw;
}
}

/* New CSS to make videos fill the entire container /
.slide-video-poster {
width: 100%;
height: 100%;
background-size: cover; /
Ensure background image covers the entire container /
background-position: center; /
Center the background image /
display: block; /
Ensure cover is displayed */
}

video {
width: 100%;
height: 100%; /* Adjust video height /
object-fit: cover; /
Make video keep its ratio and fill the entire container /
display: none; /
Initially hide video */
}

/* Show video in active slide */
.swiper-slide-active video {
display: block;
}

Roadster X4

105mm Wheel Daily Commuting

Cejour

Grab it and Go

Tail Lights

Escape From The City

Roadster X4

105mm Wheel Daily Commuting

Cejour

Grab it and Go

Tail Lights

Escape From The City

https://a8xagby0l4deneff-68685889847.shopifypreview.com

Hey @Doris-v

Add this code in the end of your custom liquid block


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hey @Doris-v ,

Follow these steps:

  1. Online Store

  2. Themes

  3. Edit Code

  4. theme.css or base.css

  5. Add this code at the end of the file and save:

#shopify-section-template--23735326343479__custom_liquid_tRyR4D .section.section-blends.section-full {
padding: 0px;
}

Result:

If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!

Best Regard,
Rajat Sharma

1 Like

After I tried to add it, all templates became Full width. I hope other templates will remain unchanged.

Hey @Doris-v

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hello @Doris-v
Go to online store ----> themes ----> actions ----> edit code ---->theme.css
add this code at the end of the file and save.

#shopify-section-template--23735326343479__custom_liquid_tRyR4D .section.section-blends.section-full {
padding: 0px !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

1 Like

After adding, the side image is not displayed completely, which is different from your example.

Is that right? I’m not very familiar with the code

{% render ‘gw-custom-scripts’ %}

section#shopify-section-template--23735326343479__custom_liquid_tRyR4D .section.section-blends.section-full { padding-left: 0 !important; padding-right: 0 !important; }

It worked, thanks