Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Guest color


emailanj

Recommended Posts

Posted

I went to /store/includes/languages/english.php...and found

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

 

But I don't see a color code any were. I know this is simple but I have done a search, and although there are many posts on how to change the sentance and such but I have yet to find were the color code is located.

 

Thanks for any and all help.

anj

Posted

Hi Anj,

 

You are looking at the right place. You just need to go a step further.

 

Looking at your code:

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

 

You can see that the word "Guest" is enclosed by the <span> with class greetUser.

 

From here, proceed to catalog/stylesheet.css and search for greetUser. You will find that around lines 238-243 you have the following codes:

 

SPAN.greetUser {

  font-family: Verdana, Arial, sans-serif;

  font-size: 12px;

  color: #f0a480;

  font-weight: bold;

}

 

From here, you can see that the line in bold is the one that controls the color of the text of "Guest!".

 

Hope that helps... :blush:

Posted

You made that just too easy. I was finnished in two minutes :blush:

 

Thank you so very very much. You saved me so much time and now I know how to change so many colors:thumbsup:

 

Anj

 

 

Hi Anj,

 

You are looking at the right place. You just need to go a step further.

 

Looking at your code:

You can see that the word "Guest" is enclosed by the <span> with class greetUser.

 

From here, proceed to catalog/stylesheet.css and search for greetUser. You will find that around lines 238-243 you have the following codes:

From here, you can see that the line in bold is the one that controls the color of the text of "Guest!".

 

Hope that helps...  :blush:

Posted

:lol: That's the idea! I do not want to just help you solve the problem. I want to show you how to do it, so that you'll be able to reuse this piece of information that will help you in the future.

 

Glad to be of assistance... :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...