Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

269
Views
Can we add css classes on Shopify?

I working on Shopify website by editing. And new css files needed to be added. Created style.css file in assets and connected in theme.liquid file as

{{ 'style.css' | asset_url | stylesheet_tag }}. 

I want to know can we add new css classes? If so how can we do it?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

And you have to add this to it

{
    "type": "text",
    "id": "section_css_class",
    "label": {
      "en": "Section CSS Class"
    },
    "default": {
      "en": "Type your own CSS class"
    }
  },

and

 <div class="page-width {{ section.settings.section_css_class }}">
about 4 years ago · Juan Pablo Isaza Report

0

You can edit the style of your class on CSS by adding . (period). For example, if your HTML has <div class="this"> you can edit it on the CSS file:

.this{
color: white;
}

or do you mean, can you add a class in the HTML file? If that is what you mean, then this link can help you. You have to switch from the rich text editor to the HTML editor as shown this is image:3. Switch from the rich text editor to the HTML editor [by Adam Ritchie]

References: Adam Ritchie, https://getshogun.com/learn/shopify-custom-css

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!