Blogs: Remove border around blog posts

Example:

After:

Code:

Option 1: Remove from both blog index page and blog posts

/* -- code to remove blog post border -- */
.blog__article {
    border: none;
    box-shadow: none;
}
/* - end - */

Option 2: Remove only on blog index page when in list view mode:

/* -- code to remove blog post border on list view index page -- */
.template-blog .blog__article {
    border: none;
    box-shadow: none;
}
/* - end - */

Option 3: Only remove on article pages (blog posts)
This version keeps the border on a blog index page in List view mode but remove from individual blog posts.

/* -- code to remove blog post border on List view index page -- */
.template-article .blog__article {
    border: none;
    box-shadow: none;
}
/* - end - */

Where do I add the code?

Open your Code Editor. 

From your list of themes, find the Actions link for the theme you'd like to edit. Then select Edit code. Example draft theme:

Example if you're working from your main live/published theme:

Quick link if the theme is live/published:
Open Code Editor

Next, in the Code Editor find your theme's CSS file, this will vary depending on which version of Pipeline you're running:
Which version of Pipeline am I using?

Once you know your version, find the right file in the left Assets folder:

Pipeline 4 - If you're working with a draft theme, open this file:

You'll be opening this file:

assets/theme.scss.liquid

Quick link if the theme is live/published:
assets/theme.scss.liquid

Earlier versions of Pipeline - If your theme is older than Pipeline 4 open this file for draft themes:

You'll be opening this file for earlier versions of Pipeline:

assets/style.scss.liquid

Quick link if the theme is live/published and an earlier version of Pipeline:
assets/style.scss.liquid

Add the code to the very bottom of the file on a new line after all other code. Make a couple blank lines before pasting the code snippet. 

Save the file after adding your code.

Still need help? Contact Us Contact Us