全日历宽度
我目前正在 wordpess 网站上使用日历,由于小部件限制了右侧的宽度,因此页面宽度受到限制。
这导致事件在周视图中被挤压,我可以:
禁用星期日,以便其他 6 天更宽
我可以使每一天更宽,并在周视图底部使用滚动条吗?
这两种选择可能吗?如果是这样我怎样才能实现这个目标
I am currently using the Calendar on a wordpess website with restricted width on the page due to widgets restricting width on the right hand side.
This is causing the events to be squashed up in the week view, can I :
Disable the Sunday day so that the other 6 days are wider
Can I make each day wider and use a scroll bar along the bottom for the week view ?
Are these two options possible ? If so how can I achieve this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
禁用星期日可能是可能的,尽管我以前没有这样做过,而且我敢打赌,这将需要大量的 php 编码才能实现。
在我看来,最简单的就是使用日历小部件的 CSS。这是我的建议:
标签)更宽;
高度;最后
包含标签)CSS
溢出:滚动
。它不会很漂亮(除非你使用 Javascript/jQuery),但它会起作用......
希望它有帮助......
Disabling Sunday is probably possible, although I haven't done it before and I can bet you it's going to require extensive php coding to achieve.
The easiest, to my mind, would be to play around with the CSS of the calendar widget. Here's my suggestions:
an
<li>
tag) wider;height; and lastly
the containing tag) CSS to
overflow: scroll
.It won't be pretty (unless you use Javascript/jQuery), but it'll work...
Hope it helps...