-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I'am using my own theme with the following code in zk.xml:
<desktop-config> <theme-uri>/css/mytheme.css</theme-uri> </desktop-config>
Thanks,
Hi yohann,
The included page still in the same web page and can access custom theme
I'll suggest you use the Sclass attribute, e.g.;
<zk> <style> .custom-theme button { color: red; } </style> <!-- assume the two div are two included zul pages --> <div sclass="custom-theme"> <button label="button one" /> </div> <div> <button label="button two" /> </div> </zk>
Regards,
Ben
Asked: 2012-12-14 10:04:56 +0800
Seen: 66 times
Last updated: Dec 19 '12