Pesquisas recentes


Sem pesquisas recentes

Different brands in a single help center.



Publicado 20 de out. de 2022

Hello,

Is there any way to run a brand with multiple sub-brands in a single help center? I want to change the help center colors depending on URL parameters. For different parameters, I want to change the Brand colors and for that I want to access the manifest.js variables for all types of colors. How exactly can I access and change the brand colors from within the script.js file?

Also, I have a problem changing the logo from the script.js file. The image file from the assets folder cannot be rendered.

I am trying to replace the logo from the script.js. I have different logos in the assets folder that I want to output depending on the URL parameters. Checking for parameters works, but unfortunately the logo image is not displayed to me because when I ask for the logo from the assets folder, the code is processed weirdly. Can someone help me?

Can anyone help me in both matter?

header.hbs



script.js


And this is what comes out




0

1

1 comentário

Hi Wilhelm,

 

Your issue requires serious customization. We did something similar for GOG where branding and logo change based on the URL parameter.:

https://support.gog.com/hc/en-us?product=gog 

https://support.gog.com/hc/en-us?product=galaxy 

 

You can reach out to us for this customization, and we’ll do everything for the best results.

Best regards,
Lotus Themes



0


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação