Zen Cart Logo
Forums / General Questions / Main page welcome message

Main page welcome message

Views: 1,369

Results 1 to 16 of 16
22 Apr 2011, 7:57 PM
#1
drunkguy avatar

drunkguy

New Zenner

Join Date:
May 2009
Location:
Longmont, CO
Posts:
91
Plugin Contributions:
0

Main page welcome message

Hi everybody!

I want to reclaim the space at the top of the main page where the Congratulations! You have successfully installed ....... or Welcome to my store message goes.

I have no text between the quotes in includes/languages/TEMPLATE/index.php but it still takes up that space.

What can i turn off or delete from index.php so my page starts at the top?

Thanks
Drunkguy

22 Apr 2011, 8:00 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

Paste back the .php file you are refering to please..

includes/ languages/ english/ index.php

Is TEMPLATE your override directory name?

22 Apr 2011, 10:43 PM
#3
drunkguy avatar

drunkguy

New Zenner

Join Date:
May 2009
Location:
Longmont, CO
Posts:
91
Plugin Contributions:
0

Re: Main page welcome message

Yes, TEMPLATE is my template override dir.

<?php /** * Template designed by zen-cart-power.net* * Power your Zen Cart! * @copyright Copyright 2008-2010 Newlement */ define('TEXT_MAIN','Our professional services will help you to breathe new life into your business. Feel free to describe the functionality of modules and templates you need to enhance your Zen Cart by sending us a request for quote. Even more, you can use our site to download free templates and modules for your Zen Cart! Make your store eminent and surely customers will appreciate that. This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>'); // Showcase vs Store if (STORE_STATUS == '0') { define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?'); } else { define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.'); } define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?'); define('TEXT_INFORMATION', 'Define your main Index page copy here.'); //moved to english //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products'); //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) { // This section deals with product-listing page contents define('HEADING_TITLE', 'Available Products'); define('TABLE_HEADING_IMAGE', 'Product Image'); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', 'Filter Results by:'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { // This section deals with the "home" page at the top level with no options/products selected /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/ define('HEADING_TITLE', 'THIS IS EMPTY'); } elseif ($category_depth == 'nested') { // This section deals with displaying a subcategory /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/ define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); } ?>

Thanks
:smile:

22 Apr 2011, 10:53 PM
#4
sofasurfer avatar

sofasurfer

Zen Follower

Join Date:
Mar 2011
Posts:
149
Plugin Contributions:
0

Re: Main page welcome message

Where would a person go to change the color of this text?

22 Apr 2011, 11:00 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

Then this will be the path you the index.php file..> includes/ languages/ english/ TEMPLATE/ index.php

  1. also you have another one in the file also
  1. just look below the first one that is blank
  1. define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
  1. Change to:
  1. define('HEADING_TITLE', '');
    would you please post a link to your site or just PM me the Url...
22 Apr 2011, 11:02 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

sofasurfer:

Where would a person go to change the color of this text?

This will be done in this file: > includes/ templates/ your_template/ css/ stylesheet.css

 1. #indexDefaultHeading {color: #ff0000;}
 2. just add it to the bottom of the stylesheet.css
23 Apr 2011, 1:05 AM
#7
drunkguy avatar

drunkguy

New Zenner

Join Date:
May 2009
Location:
Longmont, CO
Posts:
91
Plugin Contributions:
0

Re: Main page welcome message

angiejolee.com

You will see the space below the nav bar and the main page area display. The space is where the welcome message is displaying the empty string and I want the space to go away.

Thanks
:smile:

23 Apr 2011, 1:34 AM
#8
sofasurfer avatar

sofasurfer

Zen Follower

Join Date:
Mar 2011
Posts:
149
Plugin Contributions:
0

Re: Main page welcome message

I sure appreciate your help but this did not work. I tried it in every stylesheet I could find and the effect is notta.
I added the code at the end of the file and I also added just "color: #ff0000;
" to...

#indexDefaultHeading {
margin: 0;
padding:0;
}

like this...

#indexDefaultHeading {
margin: 0;
padding:0;
color: #ff0000;
}

23 Apr 2011, 2:09 AM
#9
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

Drunkguy:

angiejolee.com

You will see the space below the nav bar and the main page area display. The space is where the welcome message is displaying the empty string and I want the space to go away.

Thanks
:smile:

add this to the stylesheet.css at the bottom..> #indexDefaultHeading {

display: none;

}

23 Apr 2011, 2:10 AM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

sofasurfer:

I sure appreciate your help but this did not work. I tried it in every stylesheet I could find and the effect is notta.
I added the code at the end of the file and I also added just "color: #ff0000;
" to...

#indexDefaultHeading {
margin: 0;
padding:0;
}

like this...

#indexDefaultHeading {
margin: 0;
padding:0;
color: #ff0000;
}

Please post a link to your site please..

23 Apr 2011, 3:05 AM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

Tell me again what wording you are trying to change the color too?

23 Apr 2011, 3:15 AM
#13
sofasurfer avatar

sofasurfer

Zen Follower

Join Date:
Mar 2011
Posts:
149
Plugin Contributions:
0

Re: Main page welcome message

The tag line..."Great Images From Long Ago".

23 Apr 2011, 3:26 AM
#14
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

Awe now I see..

Find this:> /includes/templates/freetemplate2/css/stylesheet.cssEdit this:> #slogan h2 {

color: #D0D9EC;
font-family: "times new roman",serif;
font-size: 18px;
font-weight: normal;
margin: 0;
text-align: left;

}

  1. the highlighted red font above is the fix
23 Apr 2011, 3:31 AM
#15
sofasurfer avatar

sofasurfer

Zen Follower

Join Date:
Mar 2011
Posts:
149
Plugin Contributions:
0

Re: Main page welcome message

That did it. Thank you very much.
I guess "Header 2" was the key, huh?
By the way, hows my site looking?

23 Apr 2011, 3:32 AM
#16
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Main page welcome message

Site is looking sleek and clean...
:smile:

Take time to download Moxilla Firefox browser and use the add on called Web developer or Firebug..
These are all helpful free tools for web designers to locate the div id's and classes in the stylesheet.css quickly and edit them to see results then go to the stylesheet.css on your server and make the changes you like...