Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Need help changing text size for: "Congratulations" & "Welcome Guest" on main page

Need help changing text size for: "Congratulations" & "Welcome Guest" on main page

Locked

Started by stflats on 4 Apr 2007, 4:30 AM · Views: 10,354

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
4 Apr 2007, 4:30 AM
#1
stflats avatar

stflats

New Zenner

Join Date:
Apr 2007
Posts:
81
Plugin Contributions:
0

Post #1 by stflats

Hi,

I made some changes to the text that appears on my shop's front page. The text used to say "Congratulations! You Have Successfully Installed" & Weclome Guest! Would you like to Log Yourself In?" and now I've changed it using the customization method. What I don't know how to do however is to change the size of the text... It's too big. Can anyone tell me how to shrink it down?

And, is it possible to simply remove the "Congrats" line of text altogether? I have an image that sits just below the Welcome Guest line and it feels a little low for me...

Thanks!

4 Apr 2007, 11:25 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Try setting in the admin > config > layout settings > Customer Greeting - Show on Index Page > set to "0" off

Zen-Venom Get Bitten

4 Apr 2007, 5:32 PM
#3
stflats avatar

stflats

New Zenner

Join Date:
Apr 2007
Posts:
81
Plugin Contributions:
0

Post #3 by stflats

Thank you very much, that removed the "welcome guest" text completely and in the process, found the solution to two other problems I was having, so again, thank you...

Lastly, I still however have the "Congrats" line of text and would like to remove it as well. I originally thought I would just reduce it's size but no realize that's not necessary. I can put the same text message I have there on the center box image instead which would move the image up to the top of the box. Any ideas on how I can remove that text?

Thanks and have a great one today!

4 Apr 2007, 5:38 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #4 by afo

Check out this tutorial.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

4 Apr 2007, 5:47 PM
#5
stflats avatar

stflats

New Zenner

Join Date:
Apr 2007
Posts:
81
Plugin Contributions:
0

Post #5 by stflats

Hi Mary,

Yes, I've used this tutorial already. I initially changed the text to say what I wanted it to say, but now I don't want the text to appear at all. I want that line to be gone so my main page image can move up to the top of the center box. I will add the text to the image instead. The turorial noted explains how to replace the text but it doesn't explain how to remove the line of text completely which is what I am looking for. I couldn't find any tutorials on that specific need. Do you know if I simply delete the "congrats" line from the two locations showed in the turorials whether or not the line would dissappear or if it will still hold the space on the page but it will be blank or if it will mess something up?

Thanks!:D

5 Apr 2007, 2:10 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #6 by kobra

Where you find this line on two places it is contained inside of single quotes ao change these lines to this:

what you have 'Congrats......'

change to: '' (these are single quotes a pair)

Zen-Venom Get Bitten

6 Apr 2007, 9:05 PM
#7
stflats avatar

stflats

New Zenner

Join Date:
Apr 2007
Posts:
81
Plugin Contributions:
0

Post #7 by stflats

Thank you Kobra, that did it... Worked just fine...

14 Apr 2007, 12:52 AM
#8
robynnnnn avatar

robynnnnn

New Zenner

Join Date:
Oct 2005
Posts:
10
Plugin Contributions:
0

Post #8 by robynnnnn

I followed the tutorial, and I then took the text out completely to show just the two ', but the main page still says "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution." I went to the developers toolkit and it shows that the line is still in the index.php, but I have changed it in the language/english folder as well as the languages/english/custom folder. I have no idea where else to change it.

Here is what it shows in the index.php files

// 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', '');
} 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', '');
}
?>

Any help would be greatly appreciated.

Thanks,

Robyn

14 Apr 2007, 3:15 AM
#9
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #9 by afo

Can you post the url where this is happening so we can take a peek?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

14 Apr 2007, 3:27 AM
#10
robynnnnn avatar

robynnnnn

New Zenner

Join Date:
Oct 2005
Posts:
10
Plugin Contributions:
0

Post #10 by robynnnnn

https://www.mycheapebook.com

Thanks for your help

Robyn

14 Apr 2007, 4:09 AM
#11
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #11 by afo

You appear to be using the /classic/ folder as your custom template. Unfortunately, if you do that any changes you make will be overwritten by future upgrades/updates. Check the contents of includes/languages/english/classic/index.php. If that doesn't exist, check includes/languages/english/index.php.

If you did create a custom template, did you go into the admin and select it from the pull down menu under tools->template selection?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

14 Apr 2007, 6:09 AM
#12
robynnnnn avatar

robynnnnn

New Zenner

Join Date:
Oct 2005
Posts:
10
Plugin Contributions:
0

Post #12 by robynnnnn

I have the same index.php file in each of the below folders.

languages/english
languages/english/custom
languages/english/classic

And the congratulations message is still showing. I don't have an actual custom template, I only added the index.php file to language/english/custom per the directions. I went to the template selection in the admin and the only option is the classic template which is selected.

Thanks for your help,

Robyn

16 Apr 2007, 3:32 AM
#13
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #13 by afo

The overrides don't work that way. You have to create a custom template even if you only change the one file.

To create a very basic custom template (you can build from there), you need:
includes/languages/YOUR_TEMPLATE/english.php
includes/languages/english/YOUR_TEMPLATE/index.php
includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
includes/templates/YOUR_TEMPLATE/template_info.php
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
includes/templates/YOUR_TEMPLATE/images/logo.gif
includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Any where you see a /classic/ folder, you can create a folder for your custom template. Copy the files you need from /classic/, /template_default/ or the parent directory.

Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying info (you'll understand when you open the file).

Always use a text editor like Notepad or Crimson Editor to edit php files.

Once you've built your template, go into your admin under tools->template selection and select it from the pull down menu.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey