0

Unable to override zk css

asked 2018-10-25 15:11:20 +0800

Srikanth20 gravatar image Srikanth20
1

Hi, I am trying to update my zk to zk8.5. I am unable to change zk css to my customized css. Can anyone Help me on this?

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2018-10-25 16:03:35 +0800

softteam gravatar image softteam
45 4

have you tried putting this?

 <?link href="/Recursos/css/spectrum.css" rel="stylesheet" type="text/css"?>
link publish delete flag offensive edit
0

answered 2018-10-26 14:26:04 +0800

ivanmario gravatar image ivanmario
0

updated 2018-10-26 14:29:51 +0800

It depends on where your put your css file

  1. if css file in same directory as your zul file you can add this code : < ?link href="mysample.css" rel="stylesheet" type="text/css"?>

  2. or if you put css file in another folder/directory, try this : < ?link href="/myfolder1/myfolder2/mysample.css" rel="stylesheet" type="text/css"?>

link publish delete flag offensive edit
0

answered 2018-10-30 03:33:24 +0800

mw88 gravatar image mw88
93 2
http://www.mw88.org

If you have prodived a CSS file but it doesn't work try the browser developer tools to inspect which path is resolved. You can also try different urls in the tools directly to see how it should resolve in order to work.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2018-10-25 15:11:20 +0800

Seen: 11 times

Last updated: Oct 30

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More