Forums / Templates, Stylesheets, Page Layout / bizarre problem.....

bizarre problem.....

Locked

Views: 3,247

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
21 May 2007, 1:39 PM
#1
crispyburgers avatar

crispyburgers

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

bizarre problem.....

first of all, what a welcome alternative to that other e-commerce system! :blush:

i have installed zencart at https://www.the-pred.co.uk/zencart .

i have changed the provided template to a template called "gloss black" The problem i have with it, is that all the products and boxes appear "over large" on the main page and in the categories UNLESS a product is searched for in the header search box, when everything appears OK.

The problem detracts from the site so much, i have currently removed all the side boxes whilst i try to find the solution (so far without success.)

The style sheet is attached to this post - i hope you can access it Any advice would be gratefully received!

I presume the problem is a stylesheet problem, but I am a newbie to all this php stuff, so i am not sure.

21 May 2007, 3:12 PM
#2
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: bizarre problem.....

crispyburgers:

first of all, what a welcome alternative to that other e-commerce system! :blush:

i have installed zencart at https://www.the-pred.co.uk/zencart .

i have changed the provided template to a template called "gloss black" The problem i have with it, is that all the products and boxes appear "over large" on the main page and in the categories UNLESS a product is searched for in the header search box, when everything appears OK.

The problem detracts from the site so much, i have currently removed all the side boxes whilst i try to find the solution (so far without success.)

The style sheet is attached to this post - i hope you can access it Any advice would be gratefully received!

I presume the problem is a stylesheet problem, but I am a newbie to all this php stuff, so i am not sure.

When I view the source of the page with the problem, you have an extra <title> tag above everything:

<title>www.the-pred.co.uk online shop</title><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<title>X10 : Zen Cart!, www.the-pred.co.uk</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Perhaps you added that to a file, as you wanted that to be your title? That needs to go. :smile: I think that will fix your problem, your css is fine.

22 May 2007, 5:43 PM
#3
crispyburgers avatar

crispyburgers

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: bizarre problem.....

OK, thanks for the reply - good to know the stylesheet is OK, as that's just another part of this that i need to get my head round!

I too have looked, via the view page source function on firefox, and can see the text as above.

However, which php file does that refer to? When i try to find that text in the php file, i can't locate it! I seem to see html in the view source, but php in the files, and to be honest, i am getting very confused :blink: :frusty:

thanks!

24 May 2007, 11:13 AM
#4
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: bizarre problem.....

crispyburgers:

OK, thanks for the reply - good to know the stylesheet is OK, as that's just another part of this that i need to get my head round!

I too have looked, via the view page source function on firefox, and can see the text as above.

However, which php file does that refer to? When i try to find that text in the php file, i can't locate it! I seem to see html in the view source, but php in the files, and to be honest, i am getting very confused :blink: :frusty:

thanks!

IN your admin, under "Tools", choose "Developer Tools Kit", and do a search for "www.the-pred.co.uk online shop" and see if it points to a certain file.

6 Jun 2007, 2:39 PM
#5
crispyburgers avatar

crispyburgers

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: bizarre problem.....

I have tried the above suggestion, but i still cannot find where the problem is...:no:

are there anymore suggestions? I really need the help with this! I find it all very confusing :dontgetit

Thanks

6 Jun 2007, 5:08 PM
#6
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: bizarre problem.....

Have you tried re-uploading your stylesheet?

7 Jun 2007, 8:10 AM
#7
crispyburgers avatar

crispyburgers

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: bizarre problem.....

I have re-installed the stylesheet, yes.

Maybe i will try and re-install the overall theme and see if that helps.

7 Jun 2007, 1:00 PM
#8
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: bizarre problem.....

crispyburgers:

I have re-installed the stylesheet, yes.

Maybe i will try and re-install the overall theme and see if that helps.

Does this problem persist if you switch templates?

When you did the search for "www.the-pred.co.uk online shop" in the developers tool kit, how many instances of it were found?

8 Jun 2007, 10:08 AM
#9
crispyburgers avatar

crispyburgers

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: bizarre problem.....

yes, the problem persists when i change templates, and when searching for "www.the-pred.co.uk" in the developers toolkit, it didn't bring up any instances of that phrase, which i find hard to understand!

8 Jun 2007, 10:18 AM
#10
crispyburgers avatar

crispyburgers

New Zenner

Join Date:
May 2007
Posts:
8
Plugin Contributions:
0

Re: bizarre problem.....

I have solved the problem....I had left the original index.php file in the folder, but renamed it index_chb.php. upon removal of this file the problem disappeared :clap:

BUT i have a new problem now, on the main page it displays HEADING_TITLE on the page prior to the welcome message.

Any suggestions on how i can get rid of that?

8 Jun 2007, 2:58 PM
#11
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: bizarre problem.....

:bigups: Hurray that you found the problem!

The HEADING_TITLE is from where you removed the "Congratulations!" msg.
The tutorial for that is here:
https://www.zen-cart.com/tutorials/index.php?article=129

Replace the text starting “Congratulations” with your own text. Make sure that the single quote marks are not left out.