| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5123|Reply: 7
Collapse the left

Template issues 2

[Copy link]

 China

Post time: 2013-09-27 11:43
| Show all posts |Read mode
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.

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2013-09-27 13:15
| Show all posts
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?


 China

 Author| Post time: 2013-09-27 16:20
| Show all posts
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.

 China

 Author| Post time: 2013-09-27 16:32
| Show all posts
OK. It's done. Sorry, I should do it earlier.

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

Comments

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..  Post time 2013-09-27 18:07

 Russia

Post time: 2013-09-27 20:26
| Show all posts
(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. }
Copy the Code

 China

 Author| Post time: 2013-09-28 05:21
| Show all posts
本帖最后由 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. }
Copy the Code
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;}
Copy the Code
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;}
Copy the Code
What ever, it resolved.

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2013-09-28 10:37
| Show all posts
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...
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-23 10:00 GMT+3 , Processed in 0.067627 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list