Skip to main content

How to customize Growave widgets using CSS in the Shopify Theme Editor

Learn how to apply advanced styling to Growave widgets using Custom CSS within the Shopify Theme Editor.

Simon Akhrameev avatar
Written by Simon Akhrameev
Updated over a week ago

Overview

This guide explains how to apply custom CSS directly to Growave App blocks within the Shopify Theme Editor. This allows for advanced styling, such as changing borders, shadows, or specific spacing, that goes beyond the standard options available in the Growave admin panel.

πŸ“˜ Note

You can already customize the look of Rewards, Reviews, and Wishlist directly in the Growave admin. The Branding section allows you to change colors, fonts, icons, and button styles without needing code. We recommend using Custom CSS only if you need a design change not available in these standard settings.


Key benefits

  • Granular control: Adjust specific elements like padding, shadows, or border radius to match your theme perfectly.

  • No theme code editing: Apply changes safely within the editor without modifying your theme's liquid files.

  • Instant preview: See your CSS changes applied immediately in the Shopify Theme Editor preview.


How to apply Custom CSS

Step 1: Find the widget's class name

To apply styles, you first need to identify the specific CSS class of the Widget you want to change.

  1. Open your store's page where the widget is visible in a web browser.

  2. Right-click on the widget (e.g., the background of the reviews slider).

  3. Select Inspect (or Inspect Element) from the browser menu.

  4. In the code panel that appears, look for the line starting with <div class=".....

  5. Copy the class name. It usually starts with a gw- prefix (e.g., gw-rv-product-mini-slider-widget).

βœ… Tip

Hover over different lines in the code inspector to highlight different parts of the page. This helps ensure you have selected the main container of the widget.

browser inspector highlighting the class name of a Growave widget

Step 2: Add Custom CSS in Shopify

Once you have the class name, you can add your styles in Shopify.

  1. In your Shopify Admin, navigate to Online Store > Themes.

  2. Click Edit Theme next to your current theme.

  3. Navigate to the page where the Growave widget is located (e.g., the Product Page).

  4. In the left sidebar, click on the Growave App block (e.g., "Reviews Mini Slider") to open its settings.

  5. Locate the Custom CSS text box.

  6. Enter your CSS rules here. Do not wrap your code in <style> or <script> tags.

Custom CSS input field in the Shopify Theme Editor sidebar

Example: Modern card style

Here is an example code snippet to give the Reviews mini slider a clean, modern card style with a white background and soft shadow. Class used: .gw-rv-product-mini-slider-widget:

.gw-rv-product-mini-slider-widget {
background-color: #ffffff !important;
border: 1px solid #e0e0e0 !important;
border-radius: 8px !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
padding: 16px !important;
color: #333333 !important;
}

To ensure your styles take priority, add !important after each property value as shown in the example above.


Supported widgets

Currently, you can add Custom CSS via the Shopify Theme Editor for the following widgets:


If you have any questions or need further assistance, reach out to us at [email protected] or use the chat icon in the bottom-right corner of your Growave admin panel.

Did this answer your question?