This topic is locked

Use different theme and custom css in the same project

4/28/2022 7:09:58 AM
PHPRunner General questions
A
alfonso authorDevClub member

I want to have two forms in a project that use a theme and a custom css different from the rest of the forms and sections. Is it possible or do I have to generate a different project?

P
ppradhan@live.com 4/28/2022

alfonso,
you can use $pageObject->addCSSfile('your css location') in the before display event for your custom css to apply.

admin 4/28/2022

If you select 'This page has custom settings' checkbox on the Editor screen and then add Custom CSS, it will be applied to this specific page only.

A
alfonso authorDevClub member 4/29/2022

OK. And different theme?