A user encountered an issue where CSS code added to theme.css wasn’t working, though the same code functioned correctly when applied directly as inline styles in the collection description.
The CSS code in question:
Targets .Ar-Desc elements on mobile screens (max-width: 640px)
Sets RTL (right-to-left) direction and background positioning
Styles list items with RTL direction and disc markers
Suggested solutions:
Check theme.css for syntax errors (missing brackets or signs)
Try adding the code to alternative locations:
Custom CSS in theme editor
theme.liquid file within <style> tags before the </body> tag
One responder requested the specific page URL and feature details to provide a more targeted solution
Resolution: The original poster confirmed the issue was resolved, though the specific solution implemented wasn’t detailed.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
May I ask which feature and page the code you shared earlier was created for? Could you please provide the link to that page and specify the feature in question? This way, we can provide a suitable solution for you.
Looking forward to hearing from you soon. Thank you!