- Priority: 0
- Status: Waiting on customer
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 18.08.26, 00:12
- Opened by: JUAN CARLOS HUERTA
Ticket #26543 - ERROR ON HOME
Hola,
Estamos detectando un problema bastante extraño con la
combinación/minificación de CSS en Alysum y hemos conseguido acotarlo
bastante.
De forma aleatoria (normalmente al cabo de unas horas o al día
siguiente), la home comienza a verse mal. Los dos síntomas principales
son:
El widget Lookbook pierde completamente su maquetación y los productos
aparecen amontonados.
Los widgets de PK Links / categorías muestran los puntos (list-style:
disc), como si no se estuvieran cargando sus estilos específicos.
Si regenero el CSS desde Creative Elements y después limpio la caché
de Alysum y de PrestaShop, todo vuelve a verse correctamente. Sin
embargo, pasado un tiempo vuelve a ocurrir sin haber realizado
cambios.
He comparado los CSS generados y he encontrado una diferencia importante:
El CSS correcto pesa aproximadamente 263 KB.
El CSS incorrecto pesa aproximadamente 256 KB.
En el CSS que falla faltan varios bloques completos, entre ellos:
Los estilos específicos del elemento .elementor-3010000
.elementor-element-164639b (PK Links).
Todo el bloque de estilos del Lookbook (.lookbook-item,
.lookbook-products-list, .lookbook-image, .pois, etc.).
No parece que exista un error de sintaxis en el CSS, sino que durante
la generación del CSS combinado algunos recursos de Creative Elements
dejan de incluirse.
¿Podríais revisar si existe algún problema conocido entre la
combinación de CSS de Alysum y Creative Elements, o si hay algún
proceso de caché que pueda provocar que no se añadan todos los estilos
al CSS generado?
Si necesitáis, adjunto tanto el CSS correcto como el CSS incorrecto
para que podáis compararlos.
Muchas gracias.
Hello,
We’re detecting a rather strange problem with CSS merging/minification in Alysum, and we’ve managed to narrow it down quite a bit.
Randomly (usually after a few hours or the next day), the homepage starts to look wrong. The two main symptoms are:
The Lookbook widget completely loses its layout, and the products appear jumbled together.
The PK Links/category widgets display bullets (list-style: disc), as if their specific styles aren’t loading.
If I regenerate the CSS from Creative Elements and then clear the cache for both Alysum and PrestaShop, everything looks correct again. However, after a while, it happens again even though no changes have been made.
I’ve compared the generated CSS and found a significant difference:
The correct CSS is approximately 263 KB.
The incorrect CSS is approximately 256 KB.
The faulty CSS is missing several complete blocks, including:
The specific styles for the .elementor-3010000 element
.elementor-element-164639b (PK Links).
The entire Lookbook style block (.lookbook-item,
.lookbook-products-list, .lookbook-image, .pois, etc.).
There doesn’t appear to be a syntax error in the CSS itself, but rather that during the generation of the combined CSS, some Creative Elements resources are being omitted.
Could you please check if there are any known issues with the combination of Alysum and Creative Elements CSS, or if there is a caching process that might be preventing all styles from being added to the generated CSS?
If needed, I can attach both the correct and incorrect CSS for you to compare.
Thank you very much.
Comments
Hi, JUAN CARLOS HUERTA.
It's hard to debug minified styled.
From my experience such problem happened when one of css file is invalid. We provide valid css files with the theme. So the problem could come from:
- third party modules
- your custom CSS code which you added in the Theme Settings → Customer CSS code