Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Font size is too big on new page.


Trentide

Recommended Posts

Hi, thanks for looking at my post! I created a new page on my site and can't seem to shrink the size of the type on the page. I would like to match the same size and style type that I already have in place on the site. One note: I created the text in Dreamweaver using different colors and styles and added the style info to my stylesheet.php page. I eventually got rid of the style info in stylesheet.php but when I access the page on the internet, the styles are still there.

 

Is there a way to have better control of my typestyles including making text bigger or smaller? Any advice would be greatly appreciated!

 

Thanks in Advance,

 

Jason

Link to comment
Share on other sites

yeah, a better way is to use the same styles as used elsewhere on your site ;)

 

you can simply look through the source of your pages and see what styles are used where, and change your code acordingly.

 

many styles used in osc are defined through table classes (stylesheet css) for example:

<td class="pageHeading" valign="top">

for the *(make a wild guess here)* page heading

Link to comment
Share on other sites

Thanks for looking at my post. This sounds really newbie, but here goes....how do I look through the source of the pages and see what styles are used? I keep looking but I'm not finding. For instance when I go to english/shipping.php there's no reference to any styles there. When i go to catalog/shipping.php I can only see this:

 

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

 

But that doesn't seem specific enough.

 

Ahhhhhh...

 

Thanks,

Jason

Link to comment
Share on other sites

I ment the source in the resulting html as seen by your browser, simply look for

class=

use those classes (that you can also find in the file stylesheet.css where you inserted your own styles).

 

the trick in searching the source of the resulting html pages is that you can always see where what style is being used (even if it's name is not logical).

Link to comment
Share on other sites

If you want to look at the class calls within the source code, you have to locate the corresponding php file within the root catalog folder. They are the ones that create the displayed html. The files in the includes/english/ folder only define text variables.

Link to comment
Share on other sites

yet long but always those, for example infoboxes, products listings page split, and so forth.

 

since this is about a new file, and not corresponding sizes, he will only have to look at his own code and get the classes corresponding to a random page from osc (browser sourcecode), instead of about every other php file.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...