• Closed by: Fred
  • Closed on: 25.11.20, 11:47
  • Reason: Closed
  • Comment: Glad to help!

Ticket #19894 - Some design errors after upgrading to 5.7

1: fontawesome icons dosent work anymore ?
2: curency and lang icons are lifted in header ? (not on line with text)
3: login button and popup looks strange ?

Attachments:

errstop.PNG (390.3 KiB)

Comments

Thomas Blauenfeldt 20 Nov 2020, 10:15

Also i’m getting a console error alysum.js:380 Uncaught ReferenceError: theme_cfg is not defined

  at e.onChange (alysum.js:380)
  at e.value (alysum.js:185)
  at alysum.js:368

onChange @ alysum.js:380
value @ alysum.js:185
(anonymous) @ alysum.js:368

Fred 20 Nov 2020, 13:38

1. There is no fontawesome in the theme
2&3 Please make sure the module Header Items is enabled
4. I have updated the file alysum.js

Thomas Blauenfeldt 20 Nov 2020, 18:39

Thanks one more issue, for some reason product minature images dosent load ? ( tested in chrome)
-i just get the lazy load spinner

Thomas Blauenfeldt 20 Nov 2020, 18:51

Also the new isotop is not using the same template as catalog product miniature ? what is it using instead ?

Attachments:

isotop.PNG (253.2 KiB)
isotop.PNG (253.2 KiB)
Fred 21 Nov 2020, 10:20

For some reason these files was not updated, now it’s ok

/new/themes/alysum/templates/catalog/_partials/miniatures/product.tpl
/new/themes/alysum/templates/catalog/_partials/product-image.tpl
Thomas Blauenfeldt 22 Nov 2020, 11:54

How do i load custom.css from “themes/alysumchild/assets/css” ?
it dosen’t seams to load in 5.7 (thats why my font awesome didden’t work)

Thomas Blauenfeldt 22 Nov 2020, 11:55

and did you see the other one i wrote “Also the new isotop is not using the same template as catalog product miniature ? what is it using instead ?”

Thomas Blauenfeldt 22 Nov 2020, 13:09

nvm found out how to add the css with javascript. But still wanna know how the new isotop widget works as template file is not the same ?

Fred 23 Nov 2020, 13:30

it uses the same template file from the theme https://take.ms/n7YBH How do i load custom.css from “themes/alysumchild/assets/css” ? you have to add it to the theme’s config file. Read more here https://devdocs.prestashop.com/1.7/themes/getting-started/asset-management/

Thomas Blauenfeldt 25 Nov 2020, 11:25

issue can be closed