Taming Those Pesky Side Panels: How to Seamlessly Blend AI-Generated Section Backgrounds on Shopify

Hey fellow store owners! Ever been there? You're tweaking your Shopify store, maybe even using the cool new AI features to whip up a section, and then BAM! You notice those little side strips that just won't match your carefully chosen brand colors. It's frustrating, right? Well, you're not alone. We recently had a fantastic discussion in the Shopify community about this very issue, and I wanted to share the insights and the super effective solution that came out of it.

The Problem: Mismatched Backgrounds on AI-Generated Sections

Our community member, Tammy_29 (from Pretty Twinkles – check out her store if you get a chance!), ran into this exact predicament. She had used the AI generator to create a lovely section, likely with some image cards, but the outer edges of the section were stubbornly displaying a different, darker shade than the desired #fbecee pink she wanted for the main content area. Here's a look at what Tammy was initially seeing:

Screenshot 2026-10-03 211009

You can clearly see those darker strips on either side of the main content area. Tammy confirmed that the color she wanted (#fbecee) was already selected for the card backgrounds, but these outer panels remained stubbornly out of sync. She even shared a screenshot of her settings, showing the selected color:

Screenshot 2026-10-03 215811

Initial Troubleshooting: Checking Parent Section Settings

Initially, it seems Tammy had already tried adjusting the 'Cards area background' and 'Card background' settings, as many of us would. As alaattincagil, another helpful community member, pointed out, those settings were already correct, but the problem persisted. This tells us the issue wasn't with the cards themselves, but with their parent section – the container holding everything.

Alaattincagil offered some solid initial troubleshooting steps, which are always good practice. The core idea was to go one level up from the 'Two image cards' block to its parent 'Section' in the theme editor. The advice included looking for a 'Background' or 'Color scheme' setting there. If a color scheme was in use, creating a separate custom scheme with the desired background color (#FBECEE in Tammy's case) and assigning it specifically to that section would prevent unintended changes elsewhere. This is a smart move for maintaining theme consistency!

The "Aha!" Moment: Custom CSS to the Rescue

However, sometimes, even the most logical settings don't quite give us the control we need. That's where the community really shines! Ploqo, another helpful expert, stepped in with a brilliant solution that involved a little custom CSS. This is often the secret sauce for those tricky design tweaks.

Ploqo correctly identified that "The strips belong to the Section around your cards, not to the cards block. That Section has no colour setting, so it needs one line of code." This insight is crucial because it explains why simply changing card colors didn't work – the issue was with the overarching container.

Here's a visual of the "Before" and "After" from Ploqo's solution, clearly showing the problem resolved:

Before: Darker Strips at the Sides

Before: darker strips at the sides

After: One Seamless Pink Background

After: one pink all the way across

Step-by-Step Instructions: Implementing the Custom CSS Fix

Here's how you can implement Ploqo's solution to fix those stubborn side panels on your Shopify store, tested on a Dawn theme:

  1. Go to Online Store in your Shopify admin.
  2. Click Edit theme next to your current theme.
  3. Online Store, then Edit theme

  4. In the left sidebar, locate and click the parent item labelled Section that contains your 'Two image cards' (or whatever section is causing the issue). If it's an AI-generated section, it will likely be clearly named.
  5. Click Section

    (You might also see a screenshot like this, specifically calling out "your section you made with AI"):

    Click your section

  6. Click Custom CSS to open the custom CSS box for that specific section.
  7. Click Custom CSS

  8. Paste this exact code into the CSS box:
  9. > * { box-shadow: 0 0 0 100vmax #fbecee; clip-path: inset(0 -100vmax); }

    Paste the code

    (Don't worry if you see a yellow wavy line under the code; it's usually just a linter warning and won't stop the code from working.)

  10. Click Save in the top right corner.
  11. Click Save

Once you save, you should see those pesky side panels disappear, replaced by the uniform background color you desired (#fbecee in this case). This clever CSS snippet essentially creates a massive box-shadow that extends way beyond the section's boundaries, then uses clip-path to ensure it only shows up where you need it, effectively 'painting' over those unwanted side strips with your desired color. It's a fantastic example of how a little bit of custom code can give you complete control over your store's aesthetics, even when standard settings fall short.

Remember, whether you're just starting out on Shopify or you're a seasoned merchant, the community is an incredible resource for these kinds of specific design challenges. Don't be afraid to dive into your theme's custom CSS – it's often the key to unlocking that perfect look!

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases