Image Path Issue - Forum | JoomShaper
Staff replied Helix Framework

Image Path Issue

Asked by Chris Nichols 4 months ago Last activity 4 months ago

Environment:
Joomla: 6.1.0
Helix Ultimate: 2.2.5
SP Page Builder Pro: 6.5.0

The Issue / Symptoms

When enabling CSS Compression under Helix Ultimate > Template Options > Advanced, custom background images declared in custom.css randomly break on the live site.

If an image is uploaded via SP Page Builder’s Media Manager, it gets placed into a deeply nested date-based sub-directory (e.g., /images/2026/05/06/hero-bg.jpg).

When defining this path in custom.css using a full absolute URL to ensure stability:

.my-custom-header {background-image: url('https://www.example.com/images/2026/05/06/hero-bg.jpg');}

The URL gets re-written to when css compression is enabled. https://www.example.com/templates/shaper_helixultimate/css/images/2026/05/06/hero-bg.jpg

My workaround was just to move the file to https://www.example.com/images/hero-bg.jpg and update my custom.css file accordingly. Re-enabling css compression didn't break the image path in this instance.

1 reply

Atick Eashrak Shuvo Staff

We apologize for the inconvenience, and thank you for sharing the issue with us in detail.

We have informed our development team about the problem regarding the CSS Compression rewriting the background image paths incorrectly. They will investigate the issue further.

We appreciate your patience and understanding in the meantime.

Log in to reply.