Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

change color


Admin1986

Recommended Posts

Posted

Hi,

I want to highlight some words of the title of product, how do I change color of word with Cofee Cup Editor?

I press red color before writing the word but nothing changes, anyone can help me please?

Thanks.

 

Esther.

Posted

Now, I changed type of document to text and it changes color. However, does anyone know how can I get an effect for this word, for example a flashing word?

Thanks!!

Posted

anyone can help me please???When I change the color of title it's too long for appearing as a title of product in oscommerce, how can I do that?

Thanks.

Posted

anyone can help me please???When I change the color of title it's too long for appearing as a title of product in oscommerce, how can I do that?

Thanks.

try this forum for your answer

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Posted

try this forum for your answer

 

Thanks but it isn't there what I'm looking for. I only want to change the color of one category title, but the code is too long,e.g: I want to write in red the category title "Christmas lights ", it would be: <font color="#FF0000">Christmas lights</font> ; but it doesn't appear the whole name because it's so long. I changed width category to 200 but nothing changes.

 

What could I do?

 

Thanks.

 

Esther.

Posted

Thanks but it isn't there what I'm looking for. I only want to change the color of one category title, but the code is too long,e.g: I want to write in red the category title "Christmas lights ", it would be: <font color="#FF0000">Christmas lights</font> ; but it doesn't appear the whole name because it's so long. I changed width category to 200 but nothing changes.

 

What could I do?

 

Thanks.

 

Esther.

Posted

Hi Esther,

 

It would help to have a look at the page where you are trying to change the text. If you can post the URL, I can have a look and see what can be done. The solution that I would offer requires editing the stylesheet.css and the php file of the page with the text you want to change. Are you comfortable in editing .php files?

Posted

Hi Esther,

 

It would help to have a look at the page where you are trying to change the text. If you can post the URL, I can have a look and see what can be done. The solution that I would offer requires editing the stylesheet.css and the php file of the page with the text you want to change. Are you comfortable in editing .php files?

 

I'm new at this but I can try.

The URL is http://www.electriclumen.com

I only want to change the color of category title of christmas lights (luces Navidad in spanish) in order to distinguish it or it could be a flashing title, something to highlight it.

Thanks.

 

Esther.

Posted

I'm new at this but I can try.

The URL is http://www.electriclumen.com

I only want to change the color of category title of christmas lights (luces Navidad in spanish) in order to distinguish it or it could be a flashing title, something to highlight it.

Thanks.

 

Esther.

Posted

OK, I had a look at the code where this link resides in your page. This is what I believe you need to do.

 

FIRST make a BACKUP COPY of your stylesheet.css. Then, open up your original and find the following style class by doing a Ctrl + F. You are looking for the following style class which currently controls those left-nav links :

 

A {

color: #000000;

text-decoration: none;

}

 

When you find this class in your stylesheet, carefully COPY and PASTE this and change it like so :

 

A.red {

color: #FF0000;

text-decoration: none;

}

 

There is one hitch to making this change. You will either need to change ALL of your pages where the CHRISTMAS Lights link appears, or, if the left-nav box is an include, you may be able to change once. When I view the source of this page in the browser, there are two classes being called where this link is. They are 'daddy' and 'link_lev_0'. Both are not found in your stylesheet and therefore are probably being ignored.

 

To call the new style that you created for this particular link, in your page, you will want to remove the following highlighted in bold :

 

<a class="link_lev_0" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>

 

and replace with

 

<a class="red" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>.

 

IF the left-nav is an include, you will need to find this. I don't use left or right nav boxes in my site, so I am assuming that this may be a category type include. If this is the case, and you should only have to make this change once in the include page where these links are.

 

Good luck! Let me know how things go or if you have any questions.

Posted

OK, I had a look at the code where this link resides in your page. This is what I believe you need to do.

 

FIRST make a BACKUP COPY of your stylesheet.css. Then, open up your original and find the following style class by doing a Ctrl + F. You are looking for the following style class which currently controls those left-nav links :

 

A {

color: #000000;

text-decoration: none;

}

 

When you find this class in your stylesheet, carefully COPY and PASTE this and change it like so :

 

A.red {

color: #FF0000;

text-decoration: none;

}

 

There is one hitch to making this change. You will either need to change ALL of your pages where the CHRISTMAS Lights link appears, or, if the left-nav box is an include, you may be able to change once. When I view the source of this page in the browser, there are two classes being called where this link is. They are 'daddy' and 'link_lev_0'. Both are not found in your stylesheet and therefore are probably being ignored.

 

To call the new style that you created for this particular link, in your page, you will want to remove the following highlighted in bold :

 

<a class="link_lev_0" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>

 

and replace with

 

<a class="red" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>.

 

IF the left-nav is an include, you will need to find this. I don't use left or right nav boxes in my site, so I am assuming that this may be a category type include. If this is the case, and you should only have to make this change once in the include page where these links are.

 

Good luck! Let me know how things go or if you have any questions.

 

Hey Eureka! I did it!but only the first part of your instructions :( I changed the line of color in stylesheet.css, but everything now is in red! xD

I haven't understood the second part of your instructions, what can I do to change all titles in red to black except the christmas lights' title?

I'm so ignorant with oscommerce and its applications. In addition, I'm not english so it's hard for me to understand completely.

 

Thanks for your attention and patience.

 

Esther.

Posted

Hey Eureka! I did it!but only the first part of your instructions :( I changed the line of color in stylesheet.css, but everything now is in red! xD

I haven't understood the second part of your instructions, what can I do to change all titles in red to black except the christmas lights' title?

I'm so ignorant with oscommerce and its applications. In addition, I'm not english so it's hard for me to understand completely.

 

Thanks for your attention and patience.

 

Esther.

 

Hi Esther,

 

You are on the right track, however, what you have changed is the global style for your hyperlinks instead of making a copy of this style and changing the color for the one link. What you want to do is go back to your stylesheet, and change the link color back to #000000 for the hyperlink style. Then, make a COPY of this style and paste it back into the stylesheet, and change the color to #FF0000, so that you have two separate styles for hyperlinks.

 

Like so :

 

A {

color: #000000;

text-decoration: none;

}

 

A.red {

color: #FF0000;

text-decoration: none;

}

 

In order for this new style to show up, you will need to go into the pages that contain the CHRISTMAS Lights link, and insert the new class. Are you able to make changes to html code in your coffeecup editor? This is key as you need to be able to edit the style 'class' that is part of the hyperlink code for your left-nav links.

 

The tag that you need to change in your page is : <a class="link_lev_0" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>

 

The part that is bolded in the above link code, is the part that needs to be removed and replaced with the new style class 'red'. Like so : <a class="red" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>.

 

After you change your stylesheet.css again, try making the change to one of your pages that contain the CHRISTMAS Lights link and see what happens. If it works fine, then make the same change in all of the pages where this link comes up. Hope this helps.

Posted

Hi Esther,

 

You are on the right track, however, what you have changed is the global style for your hyperlinks instead of making a copy of this style and changing the color for the one link. What you want to do is go back to your stylesheet, and change the link color back to #000000 for the hyperlink style. Then, make a COPY of this style and paste it back into the stylesheet, and change the color to #FF0000, so that you have two separate styles for hyperlinks.

 

Like so :

 

A {

color: #000000;

text-decoration: none;

}

 

A.red {

color: #FF0000;

text-decoration: none;

}

 

In order for this new style to show up, you will need to go into the pages that contain the CHRISTMAS Lights link, and insert the new class. Are you able to make changes to html code in your coffeecup editor? This is key as you need to be able to edit the style 'class' that is part of the hyperlink code for your left-nav links.

 

The tag that you need to change in your page is : <a class="link_lev_0" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>

 

The part that is bolded in the above link code, is the part that needs to be removed and replaced with the new style class 'red'. Like so : <a class="red" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>.

 

After you change your stylesheet.css again, try making the change to one of your pages that contain the CHRISTMAS Lights link and see what happens. If it works fine, then make the same change in all of the pages where this link comes up. Hope this helps.

 

But, where's the CHRISTMAS lights links?

In any php file?I don't know where I need to paste the color link for this category.

Thanks!

 

Esther.

Posted

But, where's the CHRISTMAS lights links?

In any php file?I don't know where I need to paste the color link for this category.

Thanks!

 

Esther.

 

I just had a look at your page and noticed that your links are now blue. This is because you have eliminated the original hyperlink style. The blue looks nice, but if you want the black color back, you will need to ADD back the original style into your stylesheet so that all of your other hyperlinks are black, like so :

 

A {

color: #000000;

text-decoration: none;

}

 

The CHRISTMAS Lights links are most likely within your categories.php file within your BOXES folder. IMPORTANT! Be very careful when editing this file. Ensure that you make a copy of this file before you change and upload it. You need to be able to get to the html code in this page in order to add the new class in the hyperlink.

 

Do a Ctrl + F and search out the following in your categories.php page :

 

<a class="link_lev_0" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>

 

Do not try and remove the whole link from the page as you might remove some php code by accident, but instead just take out the class="link_lev_0" and replace it with class="red".

Posted

I just had a look at your page and noticed that your links are now blue. This is because you have eliminated the original hyperlink style. The blue looks nice, but if you want the black color back, you will need to ADD back the original style into your stylesheet so that all of your other hyperlinks are black, like so :

 

A {

color: #000000;

text-decoration: none;

}

 

The CHRISTMAS Lights links are most likely within your categories.php file within your BOXES folder. IMPORTANT! Be very careful when editing this file. Ensure that you make a copy of this file before you change and upload it. You need to be able to get to the html code in this page in order to add the new class in the hyperlink.

 

Do a Ctrl + F and search out the following in your categories.php page :

 

<a class="link_lev_0" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>

 

Do not try and remove the whole link from the page as you might remove some php code by accident, but instead just take out the class="link_lev_0" and replace it with class="red".

 

I've found the folder and php file but when I search the link:

<a class="link_lev_0" href="http://www.electriclumen.com/index.php?cPath=556" class="daddy">CHRISTMAS lights</a>

 

it says that the link doesn't exist, it doesn't match any sentence :(

Archived

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

×
×
  • Create New...