Skip to main content

Learn HTML and CSS for your Abicart shop

Learn HTML and CSS for your webshop. Discover the best websites and resources for mastering code and creating stylish websites.

Learn the basics and choose the right place for each change so you can customise your shop without unintentionally changing the rest of the theme.

This guide is for shop administrators starting with HTML and CSS. Abicart Go, Plus and Pro support custom HTML and CSS. The CSS menu path below applies to Diversity themes; TPL has a different editor. First check which theme is active.

1. Distinguish content from presentation

HTML describes content structure, such as headings, paragraphs and links. CSS controls presentation, such as colours, spacing and layout. Edit a product description in the product's text editor and an ordinary page under Pages. Use the theme's own settings when they already cover the task. CSS is not a substitute for correcting inaccurate product details or prices.

Follow the guide to HTML mode and custom CSS in Abicart when choosing a product text editing mode or adding a theme rule.

2. Choose a learning resource

Examples on these websites are general. A selector from a course example does not automatically target the correct element in your Abicart theme.

3. Try a limited change

  1. Keep a copy of the HTML or CSS you intend to change. Prefer a theme copy for changes affecting layout.

  2. Open the shop page and inspect the element using your browser's developer tools. Check which rule actually controls its appearance.

  3. Try a rule targeting only the intended area. Changes in developer tools are temporary and are not saved in Abicart.

  4. In a Diversity theme, open Appearance → Themes → Edit for the correct theme, then Style → Custom CSS. Add the limited rule without deleting existing CSS.

  5. Save when you intend to apply the change. Check desktop, mobile, the shop's languages and other pages using the same element.

If the change does not appear or has unintended effects

Check that you are editing the theme being displayed, that the CSS is valid and that the selector exists on the page. Inspect which rules win in the cascade rather than adding !important everywhere. If text seems inaccurate, first check product text, page content and any imports or integrations. Do not hide important information with CSS instead of correcting it. Restore your own change from the saved copy if it affects more than intended.

Quick start

  1. Learn basic HTML and CSS using the resources above.

  2. Choose the content editor or theme setting for the task.

  3. Keep a copy and try a limited change.

  4. Check the result on different screens and languages.

Subscription and theme

Custom HTML and CSS are available in Go, Plus and Pro. Adapt code examples to the shop's actual theme. A change in one theme does not automatically carry over when you switch to another.

Person working with code and a web page on a computer screen
Did this answer your question?