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.
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.
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?
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!
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
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.
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
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?
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.
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.
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.