Greetings Vishal
A quick one. How many themes can i have in one app? I am building a multi-portal app and would like to have different themes for each portal. e.g. the Jobs portal to look different from the transport portal etc.
Alternatively, if only one theme is possible, is there a way I can play around to be able to keep the critical css or js files after I install a theme on a page, then delete the theme files… I have this idea that I can download the themes I want, place them on the target pages then remove the theme files. The challenge is that when i delete, i lose the CSS & Js as well as other files, even though I remain with the HTML infrastructure…
I dont want the entire app to look exactly the same
Any ideas?
Thanks
Willie
Hi @WillieMak,
You can use any one theme in a project. If you try to upload different themes then the CSS will conflict with each other and mess up the pages.
If you need different behaviour then it is better to apply the local CSS on the pages itself and keep the main CSS via theme at the application level (in Custom CSS section).
Thanks.
1 Like
Thanks @vishsahu
That sounds great. If i can do that, I will be set. Do you have a video that shows how to add CSS and JS at page level? Because one time I tried to add JS at page level and completely failed. Must have been doing something wrong.
Thanks
We don’t have the exact video for CSS, but you can see the video for JS files and it works the same way.
You can try embedding the CSS code using the custom HTML component as well.
Thanks.
1 Like
Ok. Thanks @vishsahu
I will play around with it until I get the results.
With the custom HTML does the CSS have to be in the HTML code or can be inserted on its on? Sorry, programming is still a mystery for me
Hi @WillieMak,
You can add the CSS in the
<style> </style>
tag in custom html block.
Thanks.
1 Like