Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ho do I change customer name color on main page.


ozstar

Recommended Posts

Posted

Hi,

 

Where in the CSS can I change the color of the word 'Guest' or Customers name ala..

 

Welcome back Paul! Would you like to see which new products are available to purchase?

 

I have looked but so far no good.

 

Thanks

 

oz

Posted

I will tell you how to find any class or styles or id's in your catalog.

 

Using FireFox navigate to the page you have a question about finding styles or id's on.

 

In your case it is your index

 

On the tool bar ( firefox) locate View and then choose Page Source.

 

Then choose Edit and then Find (same tool bar) And as you are looking for the word or words with Guest, you will type in guest in the find box at the bottom of the page. Locate the

class="greetUser

 

Now open your style sheet and search for greetUser boom, there it is.

Posted

Thank you Lola.

 

Very well explained as well.

 

Appreciate it!

 

oz :)

Posted

Your welcome,

 

please keep in mind that sometimes you are bound to go looking for class that does not have a style stated for in the style sheet and if that happens you will need to add it to your style sheet and give it the style you want or need or you may want to add a totaly different class.

 

There may be extra classes included in the code that are not used by default and fall under the class of unstated inherited style until you choose to give it a style of your own.

 

Good Luck

 

 

 

Thank you Lola.

 

Very well explained as well.

 

Appreciate it!

 

oz :)

Posted

Is this the same for any other formatting? I need to make BOLD some titles in the PRIVACY info and in the SHIPPING & RETURNS info. Any idea how to?

 

I will tell you how to find any class or styles or id's in your catalog.

 

Using FireFox navigate to the page you have a question about finding styles or id's on.

 

In your case it is your index

 

On the tool bar ( firefox) locate View and then choose Page Source.

 

Then choose Edit and then Find (same tool bar) And as you are looking for the word or words with Guest, you will type in guest in the find box at the bottom of the page. Locate the

class="greetUser

 

Now open your style sheet and search for greetUser boom, there it is.

Posted

<p>This is my privacy statement.<br><br>

 

I want to make this word <b>bold</b> and this word <font color="#ff0000">red.</font></p>

 

It will look like this:

 

This is my privacy statement.

 

I want to make this word bold and this word red.

 

Do you have a html editor? If not there is a free one called NVU. Not a great one but a free one with some good attributes for the beginner.

 

In NVU just type in the text you want and then click on the Source button at the bottom of the page and copy the code out and then paste it in your document.

 

Caution: Do not edit php in a html editor.

 

Make yourself familiar with the source code before your added code so you know what is new and what isn't.

Archived

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

×
×
  • Create New...