Zen Cart Logo
Forums / Addon Templates / Using Template and Having trouble with overlapping text

Using Template and Having trouble with overlapping text

Views: 1,598

Results 1 to 10 of 10
2 Dec 2011, 2:53 PM
#1
kdipaolo avatar

kdipaolo

New Zenner

Join Date:
Nov 2011
Posts:
81
Plugin Contributions:
0

Using Template and Having trouble with overlapping text

Here is a pic of a portion of my site:

http://www.freeimagehosting.net/6da84

as you can see there is overlapping text and words like HEADER_CURRENCY and HEADER_CART_SUBTOTAL. How do I fix this? I just want to move the search bar and shopping cart up into the yellow bar where it is suppose to be and gett rid of the unecessary word (HEADER_CART_SUBTOTAL). I realize this is most likely a CSS fix but I dont know what element in the style sheet to edit to fix this. Any help would be awesome.

FYI Im using the black pure template...

You guys are great!

2 Dec 2011, 3:05 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Using Template and Having trouble with overlapping text

For CSS fixes, we need to see the site live.

You are missing one or more language files, which define the CONSTANTS you are seeing into actual text.

2 Dec 2011, 3:14 PM
#3
kdipaolo avatar

kdipaolo

New Zenner

Join Date:
Nov 2011
Posts:
81
Plugin Contributions:
0

Re: Using Template and Having trouble with overlapping text

the site is https://www.calzuro.com/new/store

do you know how I get those missing language files?

Thanks so much for the quick reply!

2 Dec 2011, 3:53 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Using Template and Having trouble with overlapping text

The search/cart/currency are in a table (actually two nested tables) for no good reason. Editing out the table wrappers and leaving the divs seems to let them go back up into the bar. Still not sure why the table wouldn't stay in the box...

The language file(s) are from your template, so I would check the download of that and reupload those files.

2 Dec 2011, 4:04 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Using Template and Having trouble with overlapping text

Check includes/languages/english/black_pure_free/header.php first - that's where those constants should be defined.

2 Dec 2011, 4:52 PM
#6
kdipaolo avatar

kdipaolo

New Zenner

Join Date:
Nov 2011
Posts:
81
Plugin Contributions:
0

Re: Using Template and Having trouble with overlapping text

in what files are the tables located?

Thanks!

2 Dec 2011, 5:10 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Using Template and Having trouble with overlapping text

Either /includes/templates/your_template/common/tpl_header.php, or another file called from that by a require() or include(). We can't be sure, as it is custom code.

2 Dec 2011, 7:00 PM
#8
kdipaolo avatar

kdipaolo

New Zenner

Join Date:
Nov 2011
Posts:
81
Plugin Contributions:
0

Re: Using Template and Having trouble with overlapping text

If you wouldnt mind checking out my site again (https://www.calzuro.com/new/store) I figured out who to move the text up into the yellow bar, but I still figure out where those annoying HEADER_ADVANCED_SEARCH , HEADER_CURRENCY, HEADER_LANGUAGES are located to delete them.

Thanks for your help guys

2 Dec 2011, 7:21 PM
#9
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Using Template and Having trouble with overlapping text

kdipaolo:

If you wouldnt mind checking out my site again (https://www.calzuro.com/new/store) I figured out who to move the text up into the yellow bar, but I still figure out where those annoying HEADER_ADVANCED_SEARCH , HEADER_CURRENCY, HEADER_LANGUAGES are located to delete them.

Thanks for your help guys

As noted by Steve, the problem is in includes/languages/english/black_pure_free/header.php. Upload a fresh copy.

2 Dec 2011, 8:25 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Using Template and Having trouble with overlapping text

And you shouldn't "delete" anything; rather, make sure there are defines for all of the constants, even if you make them blank
(define('WHAT_EVER', ''); )