Multiple CSS answers

Hi all I’m still a newbie and I have 3 questions..

  1. can I have multiple CSS code answers? because I saw someone asking for something and members answers different codes.

  2. if I accept someone as a collaborator and let’s say he is a bad guy and mess up my site, can I redo all his doings?

  3. what is base.css and theme.css, are they the same or different?

thank you and hoping for more knowledge!

Hi @xSon

  1. Well sure, you can have different code that does the same thing, gives the same result. Sometimes it is just that different people use different selectors to target an element. For example, some can suggest targeting a card in Dawn theme with “#Slide-template–15968257704025__featured_collection-1” that could work at the moment but if you changethe layout, remove that section and add it again it will get a new id so that CSS will not work, in that case. But also you could see “.grid__item” again could work but also can make changes to some other section you do not want. So it should be targeted in a correct way.

  2. Do not accept bad guys as a collaborator, that is easy :slightly_smiling_face: But you should always make a backup of your theme before giving a access to someone outside. Also, make sure they work on copy of live theme. There is also a Github integration, but that is probably a bit advanced for you https://shopify.dev/docs/storefronts/themes/tools/github and video https://www.youtube.com/watch?v=aAM_kltisLU

  3. They have different names but probably same purpose: to me main CSS file of them hold a lot of styles that are used in the theme. You can name it however you want but it have to be included in theme.liquid file. So different themes, different names.

I have follow up questions from your answers..

  1. Why people are so eager to answer here in community, is there some kind of salary they get? (well thank you to those people helping newbies like me)

  2. How can I know if the collaborator is a bad guy? how to make a backup of the theme.

  3. If I change something in CSS.liquid , I must change it also in theme.liquid? (vice versa/both) or not necessarily?

where can I find this CSS.liquid and theme.liquid?

thank you!

  1. Because some questions are interesting, I can verify my ability to solve problems. Some questions are simple and easy to do. Sometimes it’s because I’m bored and find something to do. I don’t get paid for answering questions, but it’s a process of building trust. If I help someone solve a problem, if that person has some other more complicated problems later, it’s possible to reach other cooperation and get paid.
  2. I think this is not easy to distinguish. If you want to back up the theme, you can duplicate or download the backup here.

  1. The theme will have theme.liquid. However, to modify the style, you usually modify the css file. Different themes may have different naming methods, but they are mainly base.css, theme.css, app.css, etc. You can search here.

thank you very much sir!

@wo answered well and honestly. And to not repeat all this, " I don’t get paid for answering questions, but it’s a process of building trust," is true. But as a community, I like to think people just want to help others. Yes, there could be some cooperation in the future. Some while helping, market their own Shopify apps or services. I think some overdo it, like answer for one sentence and then place images and text for 10 sentences about their apps. But most are moderate and on topic.

How to know it is a bad guy, well, that is hard but use some logic. Check them out, for me, Gmail and fiver account are not enough as there are so many scammers. True there are a legit, OK people but at least have a website, your own domain, email. You have no idea how many spammers and scammers are on the forum here, posting some Chatgtp answers and than offer $200 “service”. Just be calm and think before doing any action.

thank you!