// salla · zid · custom css

Free CSS Codes for Salla and Zid: Make Your Store Look Premium Without Paying for a Theme

Khaled Osama

Free CSS codes for Salla and Zid: store before and after on the Raed and Soft themes
Found this useful? Send it to a store owner you know: WhatsApp X Telegram

Using free CSS codes for Salla and Zid is the fastest way to make your store look professional without buying a theme that costs hundreds of riyals. You open your store on the default theme and it looks like dozens of other stores. The problem is usually not the theme itself but the details: product cards, buttons, shadows and a light hover effect. All of that takes about sixty lines of CSS.

The short answer: copy the code for your theme (Raed on Salla or Soft on Zid) from these free CSS codes for Salla and Zid, paste it into your store’s custom CSS box, then check the store on mobile and desktop. If your plan does not support custom CSS, use the theme settings in the last section.

This guide gives you ready CSS codes for Salla’s Raed theme and Zid’s Soft theme, plus a simple way to match them to your brand color. If you want to customize your Salla store or tweak your Zid Soft theme, you can do it in a few steps.

The codes are really free: no sign-up, no subscription and no mailing list. Every selector was checked against the real HTML of two live stores, so nothing here is guesswork. If you are looking for ready CSS codes for Salla to copy and test on the Raed theme for Salla, this guide is for you.

Do you really need a paid theme?

A paid theme gives you extra sections and more options, but it does not create your store’s identity. Four things shape a visitor’s impression: consistent product cards, clear buy buttons, brand colors taken from your logo, and fast loading. A light layer of code on top of your current theme delivers all four.

A paid theme still makes sense when you need a different page structure or sections that do not exist yet. If you only want a more professional look, try free CSS codes for Salla and Zid first. Every riyal you save on design can go into advertising.

Quick comparison: free CSS codes for Salla and Zid, theme settings or a paid theme?

OptionCostDifficultyBest for
Custom CSS codesFreeEasy (copy and paste)A better look on your current theme
Theme settings onlyFreeVery easyPlans that do not support custom CSS
Paid themeVaries by themeMediumNew sections and a new layout
Fully custom designDepends on scopeNeeds a developerA unique store identity

Before applying free CSS codes for Salla and Zid: four important points

  • Your plan: custom CSS usually requires a plan that supports it (check your Salla or Zid plan, as conditions can change). If you cannot find the custom code box, jump to the no-code section.
  • Backup: copy any existing code from your CSS box into a text file before changing anything.
  • Testing: after saving, open the store on mobile and desktop and check the home page, a product page and the cart.
  • Speed: measure your store with PageSpeed Insights before and after the change.

The custom code box is usually inside the theme customization settings of your dashboard, and its name and path may change with platform updates. For official details see the Salla developer documentation.

Ready CSS codes for the Raed theme on Salla

This is the first of our free CSS codes for Salla and Zid. It targets the real class names of Salla components (such as s-product-card-entry and s-button-btn) and reads your brand color from the --color-primary variable set by the theme, so you only change the color if you want a different one. These classes are shared across Salla themes built on Twilight, so it may work on themes other than Raed too.

/* ===== Kx Skin | Salla - Raed theme (Twilight) ===== */
:root{
  --kx-brand: var(--color-primary, #0f766e);
  --kx-radius: 16px;
  --kx-shadow: 0 6px 20px rgba(16,24,40,.08);
  --kx-shadow-hover: 0 14px 32px rgba(16,24,40,.16);
}

/* Product cards */
.s-product-card-entry.s-product-card-vertical{
  display: flex;
  flex-direction: column;
  border-radius: var(--kx-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--kx-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.s-product-card-entry.s-product-card-vertical:hover{
  transform: translateY(-4px);
  box-shadow: var(--kx-shadow-hover);
}
.s-product-card-image{ overflow: hidden; }
.s-product-card-image-contain{ transition: transform .5s ease; }
.s-product-card-entry:hover .s-product-card-image-contain{ transform: scale(1.05); }
.s-product-card-content-title a{ font-weight: 700; line-height: 1.6; }
.s-product-card-price{ font-weight: 800; color: var(--kx-brand); }

/* Add-to-cart buttons (not icon buttons such as wishlist) */
.s-button-element.s-button-btn{
  border-radius: 12px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease;
}
.s-button-element.s-button-btn:active{ transform: scale(.97); }
.s-button-element.s-button-btn.s-button-solid:hover{ box-shadow: 0 8px 18px rgba(0,0,0,.18); }

/* Section titles: small line in the brand color */
.s-block__title h2,
.s-slider-block__title h2{ position: relative; padding-bottom: 10px; }
.s-block__title h2::after,
.s-slider-block__title h2::after{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--kx-brand);
}

/* Better keyboard accessibility */
a:focus-visible, button:focus-visible{ outline: 2px solid var(--kx-brand); outline-offset: 2px; }

/* Respect the reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  .s-product-card-entry, .s-product-card-image-contain, .s-button-element.s-button-btn{ transition: none; }
  .s-product-card-entry:hover, .s-product-card-entry:hover .s-product-card-image-contain{ transform: none; }
}

What does the Raed theme code do?

  • Gives product cards rounded corners and a soft shadow, with a slight lift on hover.
  • Zooms the product image slightly on hover.
  • Highlights the price in your brand color with a heavier weight.
  • Gives buttons a consistent shape and a pressed effect.
  • Adds a small line under section titles.

Free CSS codes for the Zid Soft theme

This is the second of our free CSS codes for Salla and Zid. It is written for the class names of the Zid Soft theme as they appear in a real store (such as product-item, section-title and btn-primary) and reads the store color from the --primary-color variable. I did not force a color on the buttons, so they keep your theme color and only the shape changes.

/* ===== Kx Skin | Zid - Soft theme ===== */
:root{
  --kx-brand: var(--primary-color, #0f766e);
  --kx-radius: 16px;
  --kx-shadow: 0 6px 20px rgba(16,24,40,.08);
  --kx-shadow-hover: 0 14px 32px rgba(16,24,40,.16);
}

/* Small padding so the card shadow is not clipped inside the slider */
.products-slider-wrapper{ padding-block: 8px; }

/* Product cards */
.product-item{
  background: #fff;
  border-radius: var(--kx-radius);
  overflow: hidden;
  box-shadow: var(--kx-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-item:hover{
  transform: translateY(-4px);
  box-shadow: var(--kx-shadow-hover);
}
.product-item .box-1-1 img{ transition: transform .5s ease; }
.product-item:hover .box-1-1 img{ transform: scale(1.05); }
.product-item .product-title{ font-weight: 700; line-height: 1.6; }
.product-item .product-price{ font-weight: 800; }
.product-item .product-prev-price{ opacity: .7; }

/* Add-to-cart and option buttons */
.btn.btn-primary{
  border-radius: 12px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn.btn-primary:active{ transform: scale(.97); }
.btn.btn-primary:hover{ box-shadow: 0 8px 18px rgba(0,0,0,.18); }

/* Section titles: small line in the brand color */
.section-title{ position: relative; padding-bottom: 10px; }
.section-title::after{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--kx-brand);
}

/* Better keyboard accessibility */
a:focus-visible, button:focus-visible{ outline: 2px solid var(--kx-brand); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce){
  .product-item, .product-item .box-1-1 img, .btn.btn-primary{ transition: none; }
  .product-item:hover, .product-item:hover .box-1-1 img{ transform: none; }
}

Are free CSS codes for Salla and Zid really tested?

Yes, in the following sense: I took the real home page of a store on the Raed theme in Salla and another on the Soft theme in Zid, and confirmed that every selector matches elements that actually exist (product cards, add-to-cart buttons, section titles). No selector points to a missing element.

What I do not promise is that the code stays valid forever. If the platform renames classes in a later update you will need to review it, which is normal for any custom code. Test first and keep a backup.

How to apply free CSS codes for Salla and Zid in three steps

  1. Change the color (optional): on Salla and Zid the store color is read automatically from the theme settings. Edit --kx-brand only if you want a different color for title lines and prices.
  2. Check the element name: open your store on a computer, right-click a product card and choose Inspect. You will see the class name your theme uses. If it differs from the code, replace it.
  3. Start small: paste one rule (product cards, for example), check the result, then add the next. That way you know exactly which rule caused any problem.

If a rule does not work, the usual reason is that the class name changed in your theme version. If you need a complete identity rather than scattered tweaks, that is what I do in my Salla and Zid store design service.

Improve your Salla and Zid store without code

If your plan does not support custom CSS, or you do not want to risk editing code, these theme settings deliver a large part of the result:

  • Brand colors: set the main color in the theme settings to match your logo and use it everywhere instead of many colors.
  • One font: pick one clear Arabic font in the theme options and avoid mixing two or three.
  • Uniform product images: use the same ratio (square, for example) and similar backgrounds. This alone lifts the impression a lot.
  • Home page order: start with the banner, then best sellers, then new arrivals, and delete empty sections.
  • Clear banners: design them with a free tool such as Canva, with short text and one button.
  • Image compression: convert images to WebP and compress them (the free Squoosh tool works) so pages open faster, and see web.dev performance basics.
  • Local payment methods: enable what Saudi shoppers expect, such as mada, Tamara, Tabby and STC Pay. A missing preferred payment method is a common reason for abandoned carts.
  • Trust signals: enable shipping, payment and return badges, add Maroof verification if your store is registered, and show that prices include 15% VAT.

Common mistakes when applying free CSS codes for Salla and Zid

  • Pasting one theme’s code into another theme: class names differ, so rules will not work or will look broken.
  • Using !important everywhere: it creates conflicts that are hard to trace later. Use it only when necessary.
  • Too much motion: light motion feels premium, too much distracts and slows mobile.
  • Ignoring mobile: most store visitors are on phones, so test there first.
  • Leaving the code uncommented: in a few months you will forget what you changed. Add a short comment above each part.

FAQ about CSS codes for Salla and Zid

Where do I put ready CSS codes for Salla after copying them?
Paste them into the Custom CSS box in your store’s theme customization settings, then save and check the store. The box name and path may differ depending on platform updates and your plan.

Do these codes suit every version of the Raed theme for Salla?
They were written on class names shared across Salla themes built on Twilight, but a theme update may rename classes. Test the store after every major update.

Do free CSS codes for Salla and Zid slow down my store?
The code is short and light and relies only on transitions, so its effect on speed is very small. Large images and external scripts are usually heavier.

Is the code affected when the theme updates?
It can be, if the update changes class names. Keep a copy of the code and review the store after any major update.

Does the code work on themes other than Raed and Soft?
The idea applies, but you need to replace the class names with the ones your theme uses, via the Inspect tool.

Does the code work with the Arabic (RTL) interface?
Yes. The codes use logical properties such as inset-inline-start, so they work right-to-left with no changes.

Do I need programming experience?
No. Copy, paste and change the color value if you want.

What is the difference between this code and a paid theme?
The code improves the look on top of the theme you own, while a paid theme adds new sections and options.

Conclusion: try the code today

Try free CSS codes for Salla and Zid on your store now, and keep a backup. If you use a theme other than Raed or Soft, message me its name and I will prepare ready CSS codes for Salla or Zid that suit it.

Running paid ad campaigns? Also see my landing pages for ads.

Want a complete store identity, not scattered tweaks?

I customize Salla and Zid stores with a unique identity, improve the product and cart pages and connect ad tracking. Send me your store link and I will tell you honestly what is worth changing first.

Message me on WhatsApp