Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new page creation no problem


fabriccut100

Recommended Posts

Posted

I've created several new pages which work quite well but I can't seem to change the font, style and size, I've played around with the style sheet to no avail, I can't just remove the stylesheet due to other elements on the pages such as left and right colums, It may be an easy fix, I've checked the doc's it shows how to change the color but not the font or style font, I just can't get it, any help or direction would be greatly appreciated!

Thank you in advance for your time and consideration

 

Kelly

Posted

Usually it turns out to be a file path problem to the style sheet. Are you using the default osC style sheet? If so, where are your new pages located.

If they are in a folder inside osC catalog then you could not use:

<link rel="stylesheet" type="text/css" href="stylesheet.css">

 

You would need to use

<link rel="stylesheet" type="text/css" href="../stylesheet.css">

 

If it is working - the color is changing, the font size and color is set accordingly:

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

font-size: 10px;

Lloyd

Posted
I've created several new pages which work quite well but I can't seem to change the font, style and size, I've played around with the style sheet to no avail, I can't just remove the stylesheet due to other elements on the pages such as left and right colums, It may be an easy fix, I've checked the doc's it shows how to change the color but not the font or style font, I just can't get it, any help or direction would be greatly appreciated!

Thank you in advance for your time and consideration

 

Kelly

Here's your problem :) On your news page, you have keyed in the HTML surrounded by body tags. They are not required as the body tags are taken care of in other files :)

 

[color="#8B0000"][b]<td class="main">[/b][/color][b]<body>[/b]
<table width="90%" border="0">
 <tr>
   <th width="23%" height="222" align="left" valign="top" scope="col"><img src="machine.jpg" width="300" height="220"></th>
   <th width="77%" align="left" valign="top" scope="col"><p>From a long line of fabric upholsterers ... </p>
     <p>At first everyone said it was impossible ...<br>
         <br>

       On this website you will find ...<br>
   A popuri of vintage classics from foremost ...</p>
 </tr>
</table>
<table width="90%" border="0">
 <tr>
   <th width="66%" height="203" valign="top" scope="col">
     <p>This website is designed with ...<br>

       <br>
... shipping and handling.</p>
 </tr>
</table>
[b]</body>[/b] </td>
     </tr>
     <tr>
       <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

Fix that and put your class= at the right place (just before "From a long line of fabric" and you should be fine.

 

stylesheet1.css

TD.main, P.main {

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

font-size: 5px;

line-height: 1;

}

 

jon

It's all just ones and zeros....

Posted

Thank You, Thank YOU!!!!!!! so much!!!! that worked out great !!!

 

 

 

 

 

Here's your problem :) On your news page, you have keyed in the HTML surrounded by body tags. They are not required as the body tags are taken care of in other files :)

 

[color="#8B0000"][b]<td class="main">[/b][/color][b]<body>[/b]
<table width="90%" border="0">
 <tr>
   <th width="23%" height="222" align="left" valign="top" scope="col"><img src="machine.jpg" width="300" height="220"></th>
   <th width="77%" align="left" valign="top" scope="col"><p>From a long line of fabric upholsterers ... </p>
     <p>At first everyone said it was impossible ...<br>
         <br>

       On this website you will find ...<br>
   A popuri of vintage classics from foremost ...</p>
 </tr>
</table>
<table width="90%" border="0">
 <tr>
   <th width="66%" height="203" valign="top" scope="col">
     <p>This website is designed with ...<br>

       <br>
... shipping and handling.</p>
 </tr>
</table>
[b]</body>[/b] </td>
     </tr>
     <tr>
       <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

Fix that and put your class= at the right place (just before "From a long line of fabric" and you should be fine.

 

stylesheet1.css

TD.main, P.main {

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

font-size: 5px;

line-height: 1;

}

 

jon

Archived

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

×
×
  • Create New...