Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hot to change the colors in faq system ??


3afooor

Recommended Posts

Find this chunk of code in your catalog/faq.php....

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
? ? ?</tr>
? ? ?<tr>
? ? ? ?<td><br><table border="0" width="100%" cellspacing="0" cellpadding="2">
? ? ? ? ?<tr>
? ? ? ? ? ?<td class="main"><ol>
<?php

 

and simply change the <td class="main"><ol>

 

Now look at your stylesheet, change the "main" to a style you like as the "main" is the default osC. My example below would simply be <td class="faq_text"><ol>

 

(stylesheet faq_text mockup addition)

TD.faq_text {
?font-family: Verdana, Arial, sans-serif;
?font-size: 12px;
?color: #0000cc;
}

 

Quite easy huh? have fun!

--KJ

Edited by Top_Speed

define('PROJECTS', 'Something that goes on forever!');

Link to comment
Share on other sites

:D THX ALOT :) 4 HELP

 

 

Find this chunk of code in your catalog/faq.php....

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
? ? ?</tr>
? ? ?<tr>
? ? ? ?<td><br><table border="0" width="100%" cellspacing="0" cellpadding="2">
? ? ? ? ?<tr>
? ? ? ? ? ?<td class="main"><ol>
<?php

 

and simply change the <td class="main"><ol>

 

Now look at your stylesheet, change the "main" to a style you like as the "main" is the default osC. My example below would simply be <td class="faq_text"><ol>

 

(stylesheet faq_text mockup addition)

TD.faq_text {
?font-family: Verdana, Arial, sans-serif;
?font-size: 12px;
?color: #0000cc;
}

 

Quite easy huh? have fun!

--KJ

Link to comment
Share on other sites

hi

 

i do what u say

 

it is change but noe to the new style !

 

 

i change the faq.php

 

and add to style sheet this

 

 

TD.faq_text {

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

font-size: 12px;

color: #0000cc;

}

 

 

i change the font several time from 10 to 19 nothing change in the faq :)

 

 

http://www.gulfgate.us/shop/faq.php?language=en

Link to comment
Share on other sites

Thats funny, I just did it and mine (changed the faq.php, and added to stylesheet.css), changed color, I even put a font weight bold statement in there just to play....

Works for me?

define('PROJECTS', 'Something that goes on forever!');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...