| |

CodersClub

 找回密碼
 註冊
搜索
查看: 6018|回復: 7
收起左側

Template issues 2

[複製鏈接]

 中國

發表於: 2013-09-27 11:43
| 顯示全部樓層 |閱讀模式
It is a customized template, there are 2 issues in this picture. I don't know how they happened.

(1) when I login as 'administrator', it automaticly add some extra space above the user info.

I checked the HTML code in chrome, it shows 2 symbol "

I also checked in the firefox, it happened but with little diffrences.


But it is correct in the IE10.

I try to remove all the css in the 'extend_module.css' and 'extend_common.css', but the problem still there. I compared the code in the original template 'header.htm' and my template 'header.php', no differences in this area.

It confused me, may be somebody can help me with it.

(2) The Level 2 navi-bar, the first item will be red color and with a underline. why?

You guys can refer to ifpay.cn to check the issues. thanks! dude.

本帖子中包含更多資源

您需要 登錄 才可以下載或查看,沒有帳號?註冊帳號

x

 俄羅斯

發表於: 2013-09-27 13:15
| 顯示全部樓層
Leon, I see in your footer only this copyright:
Powered by Discuz! X3 © 2001-2013 Comsenz Inc.

So, why not ask your question at Comsenz support forum?


 中國

 樓主| 發表於: 2013-09-27 16:20
| 顯示全部樓層
I bought a basic template from comsenz app store. It default display like this, and I don't start to modify the footer.php yet. I will change it with no doubt.

 中國

 樓主| 發表於: 2013-09-27 16:32
| 顯示全部樓層
OK. It's done. Sorry, I should do it earlier.

本帖子中包含更多資源

您需要 登錄 才可以下載或查看,沒有帳號?註冊帳號

x

點評

glad you did.....who knows vot's anger.... you know he can flare his killing intent in a message too if he wants.. never mess with the copyright content..  發表於 2013-09-27 18:07

 俄羅斯

發表於: 2013-09-27 20:26
| 顯示全部樓層
(1) when I login as 'administrator', it automaticly add some extra space above the user info.

What about DEFAULT template? Is that problem exists?

(2) The Level 2 navi-bar, the first item will be red color and with a underline. why?

Because of your style:
common.css:
  1. a:focus {
  2.     color: rgb(204, 0, 0); /* vot said: it is RED */
  3.     text-decoration: underline;
  4. }
複製代碼

 中國

 樓主| 發表於: 2013-09-28 05:21
| 顯示全部樓層
本帖最后由 leon 于 2013-9-28 06:56 编辑

(1) I use the default template, it doesn't happen, so I am sure it my template's problem. Now I need to find a way to figure out the issue. Here are all the fiels I modified except images and javascripts.


If necessary, I can provide the administrator account to you for testing.

(2) Thx! vot. It's done. But I don't find the code in common.css. - -;
  1. a:focus {
  2. color: rgb(204, 0, 0); /* vot said: it is RED */
  3. text-decoration: underline;
  4. }
複製代碼
Finally I modified the 'extend_common.css'. Change my style:
  1. .liveproduct ul li a:link{color:#272727; text-decoration:none}
  2. .liveproduct ul li a:visited{color:#272727;text-decoration:none;}
  3. .liveproduct ul li {color:#c00; text-decoration:underline;}
複製代碼
to
  1. .liveproduct ul li a:link,a:hover,a:active,a:focus{color:#272727; text-decoration:none}
  2. .liveproduct ul li a:visited{color:#272727;text-decoration:none;}
複製代碼
What ever, it resolved.

本帖子中包含更多資源

您需要 登錄 才可以下載或查看,沒有帳號?註冊帳號

x

 俄羅斯

發表於: 2013-09-28 10:37
| 顯示全部樓層
1) Method for finding a problem:
a) Save the buggy page as HTML code.
b) Switch to default template and save the same URL page as HTML code.
c) Compare two html files
d) Find a differences
e) Find corresponding HTML code in both templates (in "template/TEMPLATE_NAME/*.*")
f) Compare corresponding code and make a decision what to do...
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archive|手機版|小黑屋|CodersClub

Top.Mail.Ru
Top.Mail.Ru

GMT+3, 2025-06-07 15:12 , Processed in 0.186779 sec., 10 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2025 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

快速回復 返回頂部 返回列表