Custom CSS: Difference between revisions

From Posstack.com Documentation
Line 15: Line 15:
This is especially helpful when you switch to a new template and want to fix/change blocks’ style in the new theme.
This is especially helpful when you switch to a new template and want to fix/change blocks’ style in the new theme.


=== Understand Custom CSS scopes ===
{{Note|=== Understand Custom CSS scopes ===


====== App scope ======
====== App scope ======
Line 36: Line 36:
* Click Theme settings.
* Click Theme settings.
* Click '''Custom CSS'''.  
* Click '''Custom CSS'''.  
* Add your code and click '''Save'''.  
* Add your code and click '''Save'''.|inline}}


== Custom Theme Style (Pro version only) ==
== Custom Theme Style (Pro version only) ==

Revision as of 03:00, 7 December 2023

Getting Started

Check out this step-by-step video guide to learn how to customize your Shopify theme using the Custom CSS feature that Easy Content Buider provides.

We will walk you through some small tweaks like changing the Primary/Secondary Background colors, font size, and creating rounded Buttons on the Shopify Refresh theme.

Custom CSS

You can manually add custom CSS changes here that will be applied to all blocks created by the Easy Content Builder app.

Custom CSS.png

This feature allows you to make quick style changes to all blocks & elements on the site using their CSS classes.

This is especially helpful when you switch to a new template and want to fix/change blocks’ style in the new theme.

inline

Custom Theme Style (Pro version only)

In addition to the standard Custom CSS feature, the Easy Content Builder Pro version has a handy option to make significant adjustments to your theme without coding - Automatically Generate CSS option.

Ecb-custom-css.jpg

Currently, it only supports Color customization - you can expect other types of customization in the coming time.

You can change the color for borders, backgrounds, or text colors of the ECB sections to fit your theme style.

Ecb customcss 2.jpg


Then, hit the Generate CSS button (the new CSS code - from your selected color settings - applied to the ECB blocks will be automatically generated and filled in the Custom CSS field).

Next, hit the Save button and clear the browser cache to see the changes in your storefront.

Extra note: You can also copy the generated Custom CSS to your theme (supposed that your theme supports adding custom CSS code). We take the Dawn theme as an example; you can add the generated Custom CSS to the Custom CSS section via Shopify Theme Editor:

Custom css dawn.jpg