Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Header Welcome Text
 
David
Jr. Member
 
Total Posts:  7
Joined:  2007-09-02
 

Can’t fine how to edit header welcome note, My Account, Login, My cart, wishlist ad checkout text color setting.

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
ohminu
Magento Team
 
Avatar
Total Posts:  171
Joined:  2007-08-07
Portland, OR
 

Hello David,

Please look in skin/frontend/default/default/boxes.css file for the following class: “account-access” and “shop-access”. You’ll be able to define the font colors there. The demo site runs quite a lot from CSS so much of the style edits can easily be made with it alone.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Solar Frenzy
Member
 
Avatar
Total Posts:  49
Joined:  2007-09-05
London
 

As mentioned, check the boxes files.

One thing I usually do, if I can’t find the referenced file straight away, is do a global search for the phrase that I want to change.
99.9% of the time it’s the easiest route.

 Signature 

To be Magentod

 
Magento Community Magento Community
Magento Community
Magento Community
 
David
Jr. Member
 
Total Posts:  7
Joined:  2007-09-02
 

Thanks Ohminu,

Manage to change all except “Welcome” message before “My Account”, can you guide me?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ohminu
Magento Team
 
Avatar
Total Posts:  171
Joined:  2007-08-07
Portland, OR
 

You can find the “Welcome...” message in app/code/core/Mage/Page/Block/Html/Header.php line 68.

 
Magento Community Magento Community
Magento Community
Magento Community
 
3sixtygroup
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2007-10-18
Auburn Hills, MI
 

What’s the class for the top right welcome to Magento message?

Nevermind...just found it.

The class is, “quick-access”, for anyone else looking for this.

 Signature 

Winston Sport

 
Magento Community Magento Community
Magento Community
Magento Community
 
Phoenix Design
Jr. Member
 
Total Posts:  5
Joined:  2008-02-01
 

Is there a way to change the welcome message to something like “Welcome {Customer Name}” so that it automatically pulls the customer name if they are logged in and “Welcome Guest” if they aren’t logged in?

 
Magento Community Magento Community
Magento Community
Magento Community
 
AnnaM
Guru
 
Avatar
Total Posts:  312
Joined:  2008-01-29
San Francisco
 
ohminu - 23 October 2007 08:35 AM

You can find the “Welcome...” message in app/code/core/Mage/Page/Block/Html/Header.php line 68.

Hi.  I sure did not find this here, this line is a closed curly in my file, but did find it in
/app/code/core/Mage/Page/etc/config.xml Line 85

That is if I understood his question, where to change “Default Welcome Msg” to what you want it to say.

Maybe I misunderstood the question, but if anybody wants, like I did, to change “Default Welcome Msg” it is iin config.xml I shall have to look over this file, it may answer a lot of questions!

 Signature 

Anna
Live Long and Prosper

 
Magento Community Magento Community
Magento Community
Magento Community
 
AnnaM
Guru
 
Avatar
Total Posts:  312
Joined:  2008-01-29
San Francisco
 
Phoenix Design - 02 February 2008 01:08 AM

Is there a way to change the welcome message to something like “Welcome {Customer Name}” so that it automatically pulls the customer name if they are logged in and “Welcome Guest” if they aren’t logged in?

It already does this automatically. I logged in and it said
Welcome Anna Markham!
else it just says
Welcome to our cookware store which I defined in config.xml

So if you want it to say Welcom Guest you can change that there, line 85

and for further refinement, this code can probably be altered
public function getWelcome()
{
if (Mage::app()->isInstalled() && !$this->_welcome && Mage::getSingleton(’customer/session’)->isLoggedIn()) {
$this->_welcome = $this->__(’Welcome, %s!’, Mage::getSingleton(’customer/session’)->getCustomer()->getName());
}
elseif (!$this->_welcome) {
$this->_welcome = Mage::getStoreConfig(’design/header/welcome’);
}

return $this->_welcome;
}

from the file and area header.php which ohminul pointed out above

 Signature 

Anna
Live Long and Prosper

 
Magento Community Magento Community
Magento Community
Magento Community
 
kimbu
Jr. Member
 
Total Posts:  3
Joined:  2008-01-29
 

hi,
how can I put welcome msg to another place in the page ? I dont want it in the header-

I have build a right2.phtml for the right area (under page/html) and put
<strong><?=$this->getWelcome()?></strong>
from header.phtml in it -
but no welcome msg is shown.

what I am doing wrong ? any ideas ? please help !

thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Leevi Graham
Jr. Member
 
Total Posts:  9
Joined:  2008-01-23
 
AnnaM - 02 February 2008 08:44 AM

ohminu - 23 October 2007 08:35 AM
You can find the “Welcome...” message in app/code/core/Mage/Page/Block/Html/Header.php line 68.

Hi.  I sure did not find this here, this line is a closed curly in my file, but did find it in
/app/code/core/Mage/Page/etc/config.xml Line 85

That is if I understood his question, where to change “Default Welcome Msg” to what you want it to say.

Maybe I misunderstood the question, but if anybody wants, like I did, to change “Default Welcome Msg” it is iin config.xml I shall have to look over this file, it may answer a lot of questions!

Or you can set it in the admin…

Look under System > Configuration > Design > Header

smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
scottyeah
Jr. Member
 
Total Posts:  13
Joined:  2008-06-14
Murwillumbah, NSW, Australia
 

Or you can set it in the admin…

Look under System > Configuration > Design > Header

smile

haha! I knew there must be a simpler way! Thanks Leevi rasberry

 
Magento Community Magento Community
Magento Community
Magento Community
 
eliteeternity
Member
 
Total Posts:  64
Joined:  2008-07-16
 

Is it just me or has this whole thread been hit and miss? I (we) need to know which .CSS file to edit to change the color of the “Welcome text” message above the “My Account, My Wishlist...etc..” links. If you need further clarification, see the attached image. I have tried every single one of the “solutions” listed on this post and none of them work. I’m running magento 1.1.0 beta.
Update on this thread?

Image Attachments
hitnmiss.png
 Signature 

Good Info:

MagentoHostingCompany.com

HowToInstallMagento.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
dreadster
Jr. Member
 
Total Posts:  4
Joined:  2008-05-16
 

The stylesheet you need to change the welcome message css is boxes.css

The welcome message is in a <div> which has the class quick-access

This can be found on line 412

This is what the default styles for this class look like:

.quick-access {boxes.css (line 412)
color:#FFFFFF;
float:right;
margin-top:28px;
padding:0pt 10px;
text-align:right;
width:540px;
}

 
Magento Community Magento Community
Magento Community
Magento Community
 
eliteeternity
Member
 
Total Posts:  64
Joined:  2008-07-16
 

I love you. Thanks for your response.
In my defense, my code looked like this:

.quick-access {
    width
:540px;
    
float:right;
    
margin-top:28px;
    
text-align:right;
    
padding:0 10px;
    
color:#fff;
    
}

instead of what you said it would look like. I tried changing the color code of every other class in the entire damn document..I swear. It just never occurred to me to change the color code: #fff because I was expecting to see the code you said: #FFFFFF
Regardless though,
thanks so much.

 Signature 

Good Info:

MagentoHostingCompany.com

HowToInstallMagento.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
cinemaduro
Jr. Member
 
Avatar
Total Posts:  23
Joined:  2008-06-04
 

FYI, the FireBug plugin for FireFox is really awesome for figuring out what style/code is affecting an area of a web page. It has an “inspect” button, and you just click on the spot on the page you are curious about, and it shows you the surrounding code plus all the CSS that affects it.

https://addons.mozilla.org/en-US/firefox/addon/1843

I’m not affiliated with FireFox or Firebug, but I’ve found it is one of the most useful tools ever developed for working with web projects that I didn’t build from scratch, like Magento, Joomla, WordPress, etc. I swear, it has saved hours upon hours of time.

 Signature 

All Pro Media

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
50099 users|433 users currently online|102231 forum posts