{"id":9461,"date":"2022-07-22T03:43:49","date_gmt":"2022-07-22T07:43:49","guid":{"rendered":"https:\/\/onecommerce.io\/blog\/?p=9461"},"modified":"2023-08-14T23:49:31","modified_gmt":"2023-08-15T03:49:31","slug":"shopify-custom-css","status":"publish","type":"post","link":"https:\/\/onecommerce.io\/blog\/2022\/07\/22\/shopify-custom-css\/","title":{"rendered":"How to Safely Add Shopify Custom CSS to Your Theme in 2023"},"content":{"rendered":"<p><i><span style=\"font-weight: 500;\">Shopify is a platform with a lot of flexibility, and one of the ways you can customize your store is with CSS.<\/span><\/i><\/p>\n<p><b><i>CSS (cascading style sheets)<\/i><\/b><i><span style=\"font-weight: 500;\"> is a code language that tells web browsers how to style and format HTML elements.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 500;\">Shopify\u2019s default themes are already pretty great, but sometimes you might want to make some changes to make your store stand out.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 500;\">That\u2019s when<\/span><\/i><a href=\"https:\/\/onecommerce.io\/blog\/shopify-custom-css\/#shopify_custom_css\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\"><b><i> Shopify custom CSS <\/i><\/b><\/a><i><span style=\"font-weight: 500;\">becomes a good choice!<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 500;\">Maybe you want to change the color of your themes, add a custom font, or <\/span><\/i><a href=\"https:\/\/onecommerce.io\/blog\/remove-powered-by-shopify\/\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\"><i><span style=\"font-weight: 500;\">remove Powered by Shopify<\/span><\/i><\/a><i><span style=\"font-weight: 500;\"> from the footer\u2026 Whatever your vision is, CSS can help you make it a reality.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 500;\">We\u2019ve found a few ways you can add Shopify custom CSS to your theme. Let&#8217;s see which they are, and which is the best and least difficult option for you.<\/span><\/i><\/p>\n<p><span style=\"font-weight: 500;\">Sounds good? Let\u2019s go for it!<\/span><\/p>\n<h2><b>What is the best way to add Shopify custom CSS?<\/b><\/h2>\n<p><span style=\"font-weight: 500;\">The Shopify platform is known for its large variety of store themes, both free and paid. This is one of its biggest strengths, as it allows store owners to find a theme that perfectly suits their needs. However, sometimes you may need to slightly adjust the layout or change the colors.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">For some of these changes (especially the advanced ones), you will need to custom the CSS file of the theme. You can also use custom CSS to edit the design of the third-party apps installed on your store. This flexibility and customization are one of the reasons why Shopify is such a popular eCommerce platform.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">So, let\u2019s take a look at the<\/span><b> 4 options<\/b><span style=\"font-weight: 500;\"> below to know which is the best to add Shopify custom CSS to your theme and make your store stand out from others.\u00a0<\/span><\/p>\n<h3><b>Option 1: Edit the Shopify theme design<\/b><\/h3>\n<p><span style=\"font-weight: 500;\">If you want to make changes to your website that are more than just cosmetic, you might want to consider editing the CSS for your Shopify theme. CSS is the code that controls the look and feel of your website, and by editing it, you can make changes that will be applied across your entire site.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">But here, we have a more comfortable way to edit your theme, and that is the <\/span><b>built-in theme customizer<\/b><span style=\"font-weight: 500;\">.<\/span><\/p>\n<div id=\"attachment_9541\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9541\" class=\"size-full wp-image-9541\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/option1.jpg\" alt=\"Shopify custom CSS\" width=\"800\" height=\"450\" title=\"\"><p id=\"caption-attachment-9541\" class=\"wp-caption-text\">The built-in theme customizer is a great way to change standard things without having to edit the CSS.<\/p><\/div>\n<p><span style=\"font-weight: 500;\">The built-in theme customizer is a great way to change standard things like colors, fonts, and some layouts without having to edit the CSS. It offers a variety of options depending on the theme you are using, so you can usually find what you&#8217;re looking for. Plus, it&#8217;s a lot easier to use than CSS, so it&#8217;s worth checking out if you&#8217;re not sure how to add or edit CSS.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Additionally, one downside of editing CSS is that your adjustments will be lost if your theme is updated. Except if you&#8217;re using a theme with an advanced theme updater, which not many themes have.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Due to this,\u00a0 make sure to back up your code so you can apply it again after a new update whenever you make CSS changes.<\/span><\/p>\n<h3><b>Option 2: Add or edit Shopify custom CSS through your theme editor<\/b><\/h3>\n<p><span style=\"font-weight: 500;\">This is <\/span><b>the most common and the least difficult option<\/b><span style=\"font-weight: 500;\"> that we are going to discuss in this article.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">The main character is to add or edit the CSS directly in the existing CSS file located in the Shopify theme code. This file is usually called <\/span><b>theme.scss.liquid <\/b><span style=\"font-weight: 500;\">or<\/span><b> base.css<\/b><span style=\"font-weight: 500;\"> in the new Shopify 2.0 themes (i.e., Dawn).\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">You can find it by going to your <\/span><b>store admin &gt; Online Store &gt; Themes &gt; Actions &gt; Edit code &gt; Assets folder<\/b><span style=\"font-weight: 500;\">.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Once you open up the CSS file, you can edit or add any CSS you want.\u00a0<\/span><\/p>\n<div id=\"attachment_9542\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9542\" class=\"size-full wp-image-9542\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/option2.jpg\" alt=\"Shopify custom CSS\" width=\"800\" height=\"387\" title=\"\"><p id=\"caption-attachment-9542\" class=\"wp-caption-text\">The most common and the least difficult option is add Shopify custom CSS through your theme editor<\/p><\/div>\n<p><span style=\"font-weight: 500;\">However, one disadvantage of this method is that if you change or update the theme, your custom CSS will be lost. Therefore, it&#8217;s a good practice to put all your customizations in a section called &#8220;<\/span><b>Custom CSS<\/b><span style=\"font-weight: 500;\">&#8221; or something similar to avoid losing your CSS. Then, you can just copy and paste it into the new theme if you need to.<\/span><\/p>\n<p><i><span style=\"font-weight: 500;\">So, how to do option 2?<\/span><\/i><\/p>\n<p><span style=\"font-weight: 500;\">Don\u2019t worry, we will mention it in the following section.<\/span><\/p>\n<h3><b>Option 3: Create a new Shopify custom CSS file<\/b><\/h3>\n<p><span style=\"font-weight: 500;\">Creating your own CSS file is a great way to customize your shop&#8217;s look and feel. By creating a new CSS file, you can easily connect your CSS file to your theme. This way, if you update or change your theme, you won&#8217;t have to worry about losing your customizations.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">To create your own CSS file, go to the store admin, then <\/span><b>Online Store<\/b><span style=\"font-weight: 500;\"> &gt; <\/span><b>Themes <\/b><span style=\"font-weight: 500;\">&gt; <\/span><b>Actions <\/b><span style=\"font-weight: 500;\">&gt; <\/span><b>Edit Code<\/b><span style=\"font-weight: 500;\">. In the Assets folder, click on Add a new asset. On the pop-up, select Create a blank file and name it whatever you want.<\/span><\/p>\n<div id=\"attachment_9543\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9543\" class=\"size-full wp-image-9543\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/add-shopify-custom.jpg\" alt=\"Shopify custom CSS \" width=\"800\" height=\"295\" title=\"\"><p id=\"caption-attachment-9543\" class=\"wp-caption-text\"><span style=\"font-weight: 500;\">By creating a new CSS file, you can easily connect your CSS file to your theme<\/span><\/p><\/div>\n<p><span style=\"font-weight: 500;\">When you have read this far, you will probably understand that this option is similar to option 2.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Indeed, both ways have a similar implementation, but they are different in the title. You can add\/edit or create a new Shopify custom CSS through the theme editor.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Therefore, we have combined these options so that you can flexibly choose the right option according to your needs.\u00a0<\/span><\/p>\n<h3><b>Option 4: Add or edit the Shopify custom CSS via a third-party app<\/b><\/h3>\n<p><span style=\"font-weight: 500;\">The last method for adding custom CSS to your Shopify store requires the installation of a <\/span><strong><a href=\"https:\/\/apps.shopify.com\/search?q=custom%20css\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\">third-party app<\/a><\/strong><span style=\"font-weight: 500;\">. While this may seem like an extra step, it actually provides a big advantage.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">All the custom CSS entered into the app is independent of your current theme. In other words, you can change or update themes as you like without affecting your custom CSS. There are a few apps that offer this functionality, and some of them are even free.\u00a0<\/span><\/p>\n<div id=\"attachment_9544\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9544\" class=\"size-full wp-image-9544\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/third-party.jpg\" alt=\"Shopify custom CSS\" width=\"800\" height=\"447\" title=\"\"><p id=\"caption-attachment-9544\" class=\"wp-caption-text\"><span style=\"font-weight: 500;\">Add Shopify custom CSS via a third-party app may seem like an extra step, it actually provides a big advantage.\u00a0<\/span><\/p><\/div>\n<p><span style=\"font-weight: 500;\">The only downside is that every app has some impact on the store\u2019s performance. Especially if the CSS is loaded via a different file. So, you need to consider carefully which way is the best for your store before making a decision.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Overall, <\/span><b>the best way to add custom CSS to your Shopify store is through the theme editor<\/b><span style=\"font-weight: 500;\">. The theme editor is a code editor built into the Shopify platform, where you can make changes to your store\u2019s code.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Tweaking the code sometimes can lead to unexpected results. But, you are not alone, even CSS gods make mistakes.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Just remember, when making changes to your code, it\u2019s always a good idea to create a backup of your theme first. That way, if something goes wrong, you can always revert to the original.<\/span><\/p>\n<h2><b>Back up your Shopify theme<\/b><\/h2>\n<p><span style=\"font-weight: 500;\">As mentioned earlier, adding Shopify custom CSS to your store could be a complicated process. First, you should find out if there is any <\/span><a href=\"https:\/\/onecommerce.io\/blog\/edit-shopify-theme\/\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\"><span style=\"font-weight: 500;\">other way to edit your Shopify Theme<\/span><\/a><span style=\"font-weight: 500;\"> without editing CSS.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Using a store builder app or an advanced customizable theme might do the trick. This will allow you to revert your shop to its current state if you make any mistakes.<\/span><\/p>\n<div id=\"attachment_9464\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9464\" class=\"size-full wp-image-9464\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/backup-data.jpg\" alt=\"Shopify custom CSS -\" width=\"800\" height=\"538\" title=\"\"><p id=\"caption-attachment-9464\" class=\"wp-caption-text\">it\u2019s always a good idea to create a backup of your theme first<\/p><\/div>\n<p><i><span style=\"font-weight: 500;\">But even <\/span><\/i><b><i>CSS experts make mistakes<\/i><\/b><i><span style=\"font-weight: 500;\">. How can you be confident that you are not making any mistakes when adding <\/span><\/i><b><i>Shopify custom CSS<\/i><\/b><i><span style=\"font-weight: 500;\"> to your store?<\/span><\/i><\/p>\n<p><span style=\"font-weight: 500;\">So, if you have any reason to believe that you might inadvertently make an error in your CSS, we strongly advise backing up your store.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">This way, when anything goes wrong, you just need to go back and don\u2019t have to start from scratch.<\/span><\/p>\n<h3><b>A quick guide to backup your Shopify theme in just 2 steps<\/b><\/h3>\n<p><span style=\"font-weight: 500;\">To back up the Shopify theme of your online store, you can follow these 2 simple steps.<\/span><\/p>\n<h4><b>Step 1: Negative to your Theme Page<\/b><\/h4>\n<p><span style=\"font-weight: 500;\">To begin, you need to log into your <\/span><a href=\"https:\/\/accounts.shopify.com\/store-login?redirect=dashboards\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\"><b>Shopify Admin<\/b><\/a><span style=\"font-weight: 500;\">, go to \u201c<\/span><b>Online Store<\/b><span style=\"font-weight: 500;\">\u201d in the left toolbar, and click on \u201c<\/span><b>Themes<\/b><span style=\"font-weight: 500;\">\u201d from the dropdown.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">It would then take you to the Theme page by default.<\/span><\/p>\n<div id=\"attachment_9465\" style=\"width: 805px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9465\" class=\"size-full wp-image-9465\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/step-1-backup-theme.jpg\" alt=\"Shopify custom CSS -\" width=\"795\" height=\"281\" title=\"\"><p id=\"caption-attachment-9465\" class=\"wp-caption-text\">it\u2019s always a good idea to create a backup of your theme first<\/p><\/div>\n<h4><b>Step 2: Make a copy of the current theme<\/b><\/h4>\n<p><span style=\"font-weight: 500;\">On your<\/span><b> Dawn<\/b><span style=\"font-weight: 500;\">, click on \u201c<\/span><b>Actions<\/b><span style=\"font-weight: 500;\">\u201d then choose \u201c<\/span><b>Duplicate<\/b><span style=\"font-weight: 500;\">\u201d from the dropdown, <\/span><span style=\"font-weight: 500;\">and you have finished backing up your Shopify theme.<\/span><\/p>\n<div id=\"attachment_9466\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9466\" class=\"size-full wp-image-9466\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/step-2-back-up.jpg\" alt=\"Shopify custom css \" width=\"800\" height=\"435\" title=\"\"><p id=\"caption-attachment-9466\" class=\"wp-caption-text\">Click on \u201cActions\u201d then choose \u201cDuplicate\u201d<\/p><\/div>\n<p><span style=\"font-weight: 500;\">Once you\u2019ve done, the duplicate theme will appear on the Themes page.\u00a0 It is named<\/span><b> Copy Of + the name of the theme<\/b><span style=\"font-weight: 500;\"> that you duplicated.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">In case you don\u2019t want this name, you can rename it by clicking on \u201c<\/span><b>Rename<\/b><span style=\"font-weight: 500;\">\u201d from the <\/span><b>Actions <\/b><span style=\"font-weight: 500;\">button.\u00a0<\/span><\/p>\n<div id=\"attachment_9467\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9467\" class=\"size-full wp-image-9467\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/step-3-backup.jpg\" alt=\"Shopify custom CSS \" width=\"800\" height=\"446\" title=\"\"><p id=\"caption-attachment-9467\" class=\"wp-caption-text\">Click on \u201cRename\u201d from the Actions button<\/p><\/div>\n<p><span style=\"font-weight: 500;\">Great! Now you know how to backup your theme. I\u2019m pretty sure that you are ready to jump into any other actions to your current theme.<\/span><\/p>\n<h2><b>How to add Shopify Custom CSS to your theme<\/b><\/h2>\n<p><span style=\"font-weight: 500;\">First, let&#8217;s learn how to <\/span>edit Shopify Custom CSS in<b> step 1 <\/b><span style=\"font-weight: 500;\">and then we move on to <\/span>add custom CSS<b> in step 2.<\/b><\/p>\n<h3><b>Step 1:\u00a0 Edit your Shopify Custom CSS<\/b><\/h3>\n<p><span style=\"font-weight: 500;\">Editing the CSS inside the existing CSS file located in the theme code is the most common way to edit CSS. <\/span><span style=\"font-weight: 500;\">You can find it by going to your<\/span><b> Shopify admin &gt; Online Store &gt; Themes &gt; Actions &gt; Edit code &gt; Assets folder.<\/b><\/p>\n<p><span style=\"font-weight: 500;\">You will see a file under \u201c<\/span><b>Assets<\/b><span style=\"font-weight: 500;\">\u201d which is usually called <\/span><b><i>theme.scss.liquid<\/i><\/b><span style=\"font-weight: 500;\"> or <\/span><b><i>base.css<\/i><\/b><span style=\"font-weight: 500;\"> in the new Shopify 2.0 themes (i.e., Dawn). <\/span><span style=\"font-weight: 500;\">From here, you can start to edit your <strong>Shopify Custom CSS<\/strong>.<\/span><\/p>\n<div id=\"attachment_9468\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9468\" class=\"size-full wp-image-9468\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/base.jpg\" alt=\"Shopify custom CSS \" width=\"800\" height=\"456\" title=\"\"><p id=\"caption-attachment-9468\" class=\"wp-caption-text\">Shopify admin &gt; Online Store &gt; Themes &gt; Actions &gt; Edit code &gt; Assets folder.<\/p><\/div>\n<p><span style=\"font-weight: 500;\">Plus, if you&#8217;re looking for a quick and easy way to edit your CSS file, you can look no further than your own personal stylesheet.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">This method is straightforward, and it&#8217;s easy to keep track of all the changes you&#8217;ve made. <\/span><span style=\"font-weight: 500;\">However, the downside is that it&#8217;s not as full-proof as some of the other methods out there.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">If you&#8217;re looking for a long-term solution, you might want to consider adding your own custom CSS. This will make it a lot easier to keep track of all the custom code you&#8217;re adding, but it will be a bit harder to set up.<\/span><\/p>\n<h3><b>Step 2: Add a Shopify custom CSS file<\/b><\/h3>\n<p><span style=\"font-weight: 500;\">To add a Shopify custom CSS, you will have to click on \u201c<\/span><b>Add a new asset<\/b><span style=\"font-weight: 500;\">\u201d under the <\/span><b>Asset folder<\/b><span style=\"font-weight: 500;\"> shown below.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">From here, you will see 2 options: \u201c<\/span><b>Upload a file<\/b><span style=\"font-weight: 500;\">\u201d or \u201c<\/span><b>Create a blank file<\/b><span style=\"font-weight: 500;\">.\u201d<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Click \u201c<\/span><b>Create a blank file<\/b><span style=\"font-weight: 500;\">\u201d and name it whatever you want (for example, custom.css).<\/span><\/p>\n<div id=\"attachment_9470\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9470\" class=\"size-full wp-image-9470\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/assets-1.jpg\" alt=\"Shopify custom CSS \" width=\"800\" height=\"314\" title=\"\"><p id=\"caption-attachment-9470\" class=\"wp-caption-text\">Click \u201cCreate a blank file\u201d and name it whatever you want<\/p><\/div>\n<p><span style=\"font-weight: 500;\">Once you have the new CSS file created, you can add your custom CSS.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">The important part is to &#8220;call&#8221; from your theme, so it&#8217;s used. To do so, go to the Layout folder and open a file called <\/span><b>theme.liquid<\/b><span style=\"font-weight: 500;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Add the following liquid code to the <\/span><b>&lt;head&gt;<\/b><span style=\"font-weight: 500;\"> section where &#8220;<\/span><b>custom.css<\/b><span style=\"font-weight: 500;\">&#8221; is the file name of your custom CSS file. Once you have updated or changed your theme, you need to copy this code to the file <\/span><b>theme.liquid<\/b><span style=\"font-weight: 500;\"> again.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Now navigate to your <\/span><b>theme.liquid<\/b><span style=\"font-weight: 500;\"> using the search bar.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Click on the file to open it, and locate a line that looks similar to this code below:<\/span><\/p>\n<table style=\"width: 100%; height: 112px;\">\n<tbody>\n<tr style=\"height: 112px;\">\n<td style=\"height: 112px;\">\n<p style=\"text-align: center;\"><b>&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;{{ &#8216;component-predictive-search.css&#8217; | asset_url }}&#8221; media=&#8221;print&#8221;onload=&#8221;this.media=&#8217;all'&#8221;&gt;<\/b><\/p>\n<p style=\"text-align: center;\"><i><span style=\"font-weight: 500;\">(the easier way is to Ctrl + F and enter \u201d<\/span><\/i><b><i>stylesheet<\/i><\/b><i><span style=\"font-weight: 500;\">\u201d)<\/span><\/i><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 500;\">U<\/span><span style=\"font-weight: 500;\">nderneath this line, paste this code to your theme.liquid file:<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p style=\"text-align: center;\"><b>&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;{{ &#8216;custom.css&#8217; | asset_url }}&#8221; type=&#8221;text\/css&#8221;&gt;<\/b><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div id=\"attachment_9471\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-9471\" class=\"size-full wp-image-9471\" src=\"http:\/\/onecommerce.io\/blog\/wp-content\/uploads\/2022\/07\/custom-css.jpg\" alt=\"Shopify custom css\" width=\"800\" height=\"487\" title=\"\"><p id=\"caption-attachment-9471\" class=\"wp-caption-text\">paste this code to your theme.liquid<\/p><\/div>\n<p><span style=\"font-weight: 500;\">Keep in mind that the file name <\/span><b>needs to match the name of the CSS<\/b><span style=\"font-weight: 500;\"> file that you just uploaded<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Your CSS file will remain in your assets folder, even if you switch themes. You&#8217;ll just need to copy this code into your new theme&#8217;s theme.liquid file.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Great! No more steps and you finally know how to add or edit your Shopify custom CSS!<\/span><\/p>\n<h2><b>Final thoughts<\/b><\/h2>\n<p><span style=\"font-weight: 500;\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/Shopify\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\">Shopify<\/a> themes are already styled for you, but you may want to customize your store even further by adding your own CSS. This can be a great way to really make your store stand out from the crowd and give it that extra bit of personality that you&#8217;re looking for.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">If you&#8217;re not sure how to add<\/span><b> Shopify custom CSS<\/b><span style=\"font-weight: 500;\"> to your store, several online resources can assist you in getting started with this article.<\/span><\/p>\n<p><span style=\"font-weight: 500;\">Once you&#8217;ve added your CSS, you will be able to fine-tune your store design until it&#8217;s exactly what you wish for. So if you&#8217;re looking to take your store to the next level, don&#8217;t be afraid to experiment with some custom CSS.<\/span><\/p>\n<p>&nbsp;<\/p>\n<div class=\"post-entry blockquote-style-1\">\n<div id=\"penci-post-entry-inner\" class=\"inner-post-entry entry-content\">\n<p><em>Hey, want to know more about\u00a0<strong>OneCommerce<\/strong>?\u00a0<a href=\"https:\/\/onecommerce.io\/\" target=\"_blank\" rel=\"noopener\" data-schema-attribute=\"\">CHECK IT OUT<\/a>!\u00a0<\/em><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>You can add Shopify custom CSS to your online store and learn how to change the look of your store to match your branding. <\/p>\n","protected":false},"author":8,"featured_media":18617,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts\/9461"}],"collection":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/comments?post=9461"}],"version-history":[{"count":11,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts\/9461\/revisions"}],"predecessor-version":[{"id":14087,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/posts\/9461\/revisions\/14087"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/media\/18617"}],"wp:attachment":[{"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/media?parent=9461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/categories?post=9461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onecommerce.io\/blog\/wp-json\/wp\/v2\/tags?post=9461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}