Align text to center under collection/product cards in Alchemy Theme

Topic summary

A user is attempting to center-align text beneath product and collection cards in the Alchemy theme but cannot locate the theme.css file—only theme.js exists in their editor. They’ve shared code from collection-card.liquid showing the current card structure.

Key Challenge:

  • Standard CSS editing guidance doesn’t apply since theme.css is missing
  • Text alignment needs adjustment for both product and collection card titles

Current Status:

  • One community member offered to help if the site URL is provided
  • Another user reports experiencing the identical issue
  • No solution has been identified yet

The discussion remains open with users seeking guidance on how to modify text alignment when the expected CSS file structure differs from documentation.

Summarized with AI on November 20. AI used: claude-sonnet-4-5-20250929.

I am trying to get my text to align the center under my product and collection cards. I have tried to edit but have had no luck! Everything I have read says to edit the theme.css BUT my editor only has a “theme.js”

Here is a copy of the code from the collection-card.liquid:

{%- liquid
if items_per_row == 2
assign col_class = ‘half’
elsif items_per_row == 3
assign col_class = ‘third’
elsif items_per_row == 5
assign col_class = ‘fifth’
else
assign col_class = ‘quarter’
endif

if settings.coll_card_image_fit == ‘cover’
assign cover = true
else
assign cover = false
endif
-%}

{%- if image != null -%} {% render 'card-image', img: image, aspect_ratio: aspect_ratio, cover: cover, items_per_row: items_per_row %} {%- else -%}
{%- capture placeholder_svg_name -%}collection-{{ 'now' | date: '%N' | modulo: 6 | plus: 1 }}{%- endcapture -%} {{ placeholder_svg_name | placeholder_svg_tag: 'placeholder' }}
{%- endif -%}
1 Like

@avalonromero

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Having the same challenge myself. Did you ever figure this one out?