DarkLight 2.3
这两天开始动手修改 G-White 主题,很多东西修改,还是比较麻烦的,费了不少时间,然后在各浏览器下调试的时候,发现 IE7 下有挺多细节问题要修正的,于是有了这篇 DarkLight 更新的文章,其实部分 DarkLight 2.0 的部分 Bug (根据用户的反馈),已于 10/18 修正并更新,今天主要就是处理了 IE7 下的问题,当然应该还有一些其他的细节问题我没发现,还是需要大家继续反馈。Change Log 如下:
- 9/20 更新:修改在无评论时 sidebar 和 footer 字体变大的 Bug。
- 10/18 更新:修改侧边栏样式,修正使用 Widget 工具时“标签云”样式,当添加工具时,侧边栏各个工具样式保持一致;修改嵌套评论“链接”的颜色;增加下拉菜单导航样式,当主页面包含子页面时,鼠标经过会出现下拉菜单(IE6 无视)。
- 10/26 更新:修正 IE7 下 Comment Author 居左问题;修正 IE7 下嵌套评论间距过大和嵌套评论内容高度过高问题;修正导航栏下拉菜单在 IE7 下异位问题。修正留言后 Leave a comment 这个链接变成 <a href=”#commentform”>Leave a comment</a> 的 Bug,我把这个链接转移位置了。
- 12/14 更新:把文章标题显示 Article-link(Permalink) 换成显示原标题
预览:Preview 1 | Preview 2
下载:本地下载
声明: 本站遵循
署名-非商业性使用-相同方式共享 3.0.0
共享协议. 转载请注明转自 Alan's World
这么优秀的主题不能错过!
顶!!!!
2 Comment / Leave a comment
一个Bug !!
打错了,直接放代码了,显示成了:
3 Comment / <a href=”#commentform”>Leave a comment</a>
嗯,Ajax 留言后就这样了,之前也有人说这个问题,看来得改一下了。
hey alan can you give us some english information please
i upgrade my page witout installing the new version because it’s too hard too customize again, but i don’t understand what changed so i can’t update exactly, thanks for your support
Hi bsod1, I put the Change Log in English in the “Read Before Use” Doc in the zip pack. The change log as below:
- Updated on Oct-26-2009: Fix several bugs under IE7, especially the dropdown menu navigation, this time it looks better under IE7.
- Updated on Oct-18-2009: Update the sidebar’s style, corrected the bug that when using Widget, the style of “Tag Cloud” item or other item add by plugins would be different with others, now all will be the same; Use new color for Links’ style in thread comments, that would be easier for reading; Add styles for Menu navigation – a dropdown menu, that’s when the pages have there childrens’ page, the menu navigation will look better and normally (dosen’t work under IE6)
- Updated on Sep-20-2009: Updated the comments.php doc, fixed the bug that when there are no comments in posts, the sidebar and footer’s font size and color would be unnormally.
主题非常漂亮,喜欢。谢谢。
请问这个问题如何处理
Fatal error: Call to undefined function: link_pages() in d:\www\climber\wwwroot\new1\wp-content\themes\darklight_2\single.php on line 19
你可以把 single.php 下的第 19 行删除。
你好,前阵下到你在BM的87主题,很是喜欢
有点小问题,如果方便给修改下吧。见论坛回复内的图
http://bbs.berrymail.cn/thread-20512-6-1.html
一直没空去搞这个主题,等我有空再更新一下,细节问题还是要继续改进的,谢谢关注。
好漂亮的主题!!
why ajax is not working with comments when I install you theme? in you page it shows two arrows circling and says submiting comment…. transitions effects and everything.
Myne just posts a comment no effects… why is that?
Hi, Branko, you should enable the thread comments in Setting->Discussion, you can only choose 3 levels deep.
the comments are working normally, but the ajax effect is not working…. no transitions
Make sure the comments-ajax.js doc is in the “js” folder and the comments-ajax.php doc is in the “darklight_2″ folder directly, if so, I think it can work well. if the both doc is in the mentioned folders directly, but it still can’t work, pls check if any plugin are conflig with the ajax comment. Pls let me know if the Ajax comment still can’t work, thank you for feedback!
OK I’ve got two problems.
1. I deactivated all my plugins and comments (with ajax) are working fine, but there is just a litlle problem:
Quickpost this image to Myspace, Digg, Facebook, and others!
2. theme is not working with smart video plus plugin … how can I fix that?
Thank you for your support!
p.s. I also suggest Live comment preview for your site: plugin
this is the first problem: comment behind button
So, you mean the ajax comment transition works? Is there only the problem you mentioned for ajax comment effect?
For the first problem, infact when submiting comment, the “Submit Comment” button would hide itself, I don’t know why this happen to you, to fix it, just open the style.css, and find “#commentload”, fix this “margin: 15px 0 15px” to “margin: 45px 0 15px”, then find the “#commenterror”, fix the “padding: 15px 15px 15px” to “padding: 45px 15px 15px;”
For the second, actually I don’t know much about Ajax, I just copy the codes and learned to fix problems to fit my theme, I’m sorry I can’t give any suggestion to this.
P.S. I had fix the comments-ajax.js to show the arrow img when submiting coments, you can download the theme again, and just replace the comments-ajax.js doc.
Also, thank you for the recommended plugin, and thanks again for you feedback.
“Submit Comment” button does hide itself and text “submiting comment…” shows…. then text stays there and button shows up again (like on the picture I put here)
problem is text doesn’t hide…
I’ve tested DarkLight 2.4 which I released, and the ajax comment transition shows without any problem, I really don’t know why this happen, I guest there’s still some plugin conflig with this ajax comment. Maybe you can removed the ajax comment from this theme, and use plugins to archive Ajax comment, so that you can fully enable the other plugins you needed.
不知道什么原因 ajax评论不起作用
新搭建的WP2.86来测试的。没有任何插件….而且我访问您的博客回复的时候同样没有ajax效果
你的浏览器不支持 JS 吧?
囧 换了台电脑试了试 还真是这问题 用的马桶啊(IE版本是8)……貌似其他JS都正常 安全级别也都默认的 彻底无语 昨天搞这个搞了半天
不过现在还是不知道怎么解决这个浏览器问题
主题很好看,我博客下载了但没使用.
对了,主题没中文,难道正在制作中?
呵呵,一直没搞中文化这个动作
额,还是个老问题。在文章页希望超出侧边栏长度的部分不再那么瘦了,希望能占满全屏,请问应该怎么做
这个似乎不能
Nice theme Alan, see ya
下载下来研究下ajax提交评论
看看ajax提交效果~~~
貌似提交的时候不显示楼层数~~~作者有虾米解决方法么
Ajax 评论调用的是 comment-ajax.php 这个文件,评论样式可参考 function.php 里面的评论样式部分。
样式会修改,主要是想提交以后能显示楼层数,譬如说现在是37楼,再增加一条评论就是38楼了,但提交以后不会显示,要刷新页面以后才显示。或者提交以后显示了,但显示有错误,显示成1楼了~~~
这个 js 不是我写的,我也不会 js,所以估计解决不了这问题了,你可以到这里看看
hi alan, i need your help again
i want to make this theme full-screen. on every resolution, i want this theme to fit the page but i don’t know enough html/css, could you help me which codes i need to add in css file?(menu width may be same, but the main column must be fit the page)
You can make the change as below, the width will auto changed to fit the screen itself no matter how width the screen you use:
#wrap { width: 100%; margin: 0 auto; }
#header { width: 100%; }
#content { width: 97%; padding: 35px 15px 25px; }
#contentwrap { width: 69.3%; }
.footer_mid { width: auto; padding: 0 15px; }
thank you alan,
it doesn’t work because of contentwrap, when we did it 69,3%, its width depends on resolution, but menu is fixed. so i decided to extend my page but not make it full-screen.
请问Blogroll的友情链接怎么添加。。。?
不懂,不是你添加链接就会自动显示的么?
我的不会显示Ajax
我的没有ajax效果.IE下老出现脚本错误.是怎么回事.
能否共享一份你这个主题.发给我一套吧.很喜欢.超级喜欢!iliang@live.cn
为什么我的没有效果.晕死了.博主.赶快帮我解决下吧?
会不会跟插件冲突了?
新的.没装任何插件.怎么可能冲突呢?
发现了根LightBox有冲突.难道不能安装这个插件么..
似乎是跟lightbox冲突的
不好意思,又来麻烦你,我想问下,怎么在首页的评论上调用那个Gravatar标志
我用插件的:http://wordpress.org/extend/plugins/wp-recentcomments/
怎么我下的你的主题和你现在这个页面的风格不一样啊
总会有些差异
能不能把现在你正在使用的这个主题共享一下。我现在才开始学习wordpredd。想在本机上学习学习呀。多多帮助哟。
给你发邮件了
收到,非常感谢,。
喜欢该主题。
首页的文章图片不会自动缩略,就是如果图片较大,会穿过侧栏。
文章内的相关文章为什么显示不了?我安装相关文章插件,加入代码,显示得很难看。
见下面这篇文章
http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/
主题非常漂亮,以前就用您的主题.这次2.4不知道为什么,第一次安装的时候侧边栏到下面了.才发现时日历的问题。去了日历,侧边栏就不显示了.请求帮助.谢谢.
能给个网址看看么?我本地测试是没问题的
网址:www.idsen.cn 很喜欢你的风格 希望你能帮助解决了!
网址:www.idsen.cn 很喜欢你的风格 希望你能帮助解决了!
你把插件禁用试试
好了 呵呵 太感谢你了!