Website Building » Shopify » How Do I Remove the Size of a Chart in Shopify?

How Do I Remove the Size of a Chart in Shopify?

Last updated on October 2, 2022 @ 2:18 am

Shopify does not have a default setting for removing the size of a chart, however, there are a few ways to achieve this. One way is to add the following code to the CSS file:

.chart {

display: none;

}

Another way is to add the following code to the JavaScript file:

PRO TIP: If you are not careful, removing the size of a chart in Shopify can permanently damage your store’s appearance. Make sure to take a backup of your theme before making any changes.

$(‘.chart’).remove();

Or, if you want to remove the chart size only on certain pages, you can add an ID or class to the chart and then use that ID or class in the CSS or JavaScript code.

Conclusion: The best way to remove the size of a chart in Shopify is to add code to the CSS or JavaScript files. You can also remove the chart size on certain pages by adding an ID or class to the chart.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.