Declutter Your Shopify Store: A Community Guide to Removing Unwanted Footer & Section Lines in Atlantic Theme

Hey there, fellow store owners! Let's talk about something that might seem small but can make a huge difference in the sleekness and professionalism of your Shopify store: those pesky border lines. You know the ones – they pop up in your footer, between sections, or under page titles, sometimes just not fitting the clean aesthetic you're going for.

Recently, a thread in the Shopify community caught my eye, started by our member dlgillihan, who was grappling with exactly this issue in their Atlantic theme. They were looking for a way to remove various divider lines, especially in the footer, for both desktop and mobile views. It's a common struggle, and the discussion that followed offered some fantastic, practical solutions that I wanted to share with all of you.

Here's what dlgillihan initially saw, with those lines making an appearance:

Tackling Those Stubborn Footer Lines First

The first major breakthrough came from community member Moeed, who provided a super effective CSS snippet specifically for the footer. This is fantastic because the footer is often where these lines can look most out of place, especially on mobile where they might break the flow.

Here's the CSS Moeed shared:

The border: unset !important; declaration is key here. It essentially tells the browser to remove any inherited or applied borders for these specific elements, and the !important tag ensures it overrides other styles. Moeed even provided a screenshot of the 'after' effect, which looked much cleaner:

How to Implement the Footer CSS:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find your current theme (it should say "Published") and click Actions > Edit code.
  3. In the file editor, look for the theme.liquid file under the "Layout" directory.
  4. Scroll to the very bottom of the theme.liquid file.
  5. Important: Add the provided CSS code just above the closing tag. It's crucial to place it here to ensure it applies correctly after other styles have loaded.
  6. Click Save.

dlgillihan confirmed that this solution worked perfectly for their footer, which is fantastic!

Beyond the Footer: Clearing Borders Across Your Store

After the footer was sorted, dlgillihan noticed there were still other border lines throughout their page that they wanted to remove. This is where the conversation broadened, and other community members like ZestardTech offered some excellent, more general advice. Here are some examples of other lines dlgillihan wanted to tackle:

Understanding the "has-border" Class

ZestardTech pointed out that many borders, especially in themes like Atlantic, come from a common class like has-border applied to various sections. This is a crucial insight! Instead of trying to target every single line individually, you can often address them more broadly.

Here's how you can approach removing these other lines:

  1. Check Theme Customizer Options: Before diving into code, always check your theme's customization settings. Go to Online Store > Themes > Customize. Navigate to the sections where you see the lines. Many themes offer options to toggle borders on or off for specific sections (like 'Section padding' or 'Border style'). It's the easiest fix if it's there!
  2. Inspect Elements with Browser Dev Tools: If no theme option exists, you'll need to use your browser's developer tools (right-click on the line and select "Inspect"). This will show you the HTML and CSS responsible for that line. Look for classes like has-border or any specific CSS properties like border-bottom, border-top, etc.
  3. Target Specific CSS Classes: Once you identify the class or element causing the border, you can add more custom CSS to your theme.liquid file (just like we did for the footer) or in a dedicated custom.css file if your theme has one. For example, ZestardTech specifically mentioned removing the border below the page title with this:

    .page-title {
        border-bottom: unset !important;
    }

    This is a great example of targeting a very specific element that might have a border you don't want.

  4. Removing the has-border Class from Sections (Advanced): If you find that the has-border class is pervasive and you want to remove it from *many* sections, you might need to edit the Liquid files for those specific sections (e.g., section-name.liquid files in your "Sections" directory). You'd look for where class="... has-border ..." is defined and simply remove has-border. Be very careful here, and always duplicate your theme before making direct code edits!

The key takeaway from this community discussion is that while specific CSS snippets can solve immediate problems (like the footer lines), understanding how your theme applies styles (e.g., via classes like has-border) empowers you to make broader, more informed design choices. Always start with theme customizer options, then use browser developer tools to pinpoint the exact CSS, and finally, apply targeted custom CSS. And don't forget to back up your theme before making any code changes – it's a lifesaver!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools