Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Text size and description positioning.

Text size and description positioning.

Views: 686

Results 1 to 6 of 6
23 Jul 2011, 4:13 AM
#1
raquelann1971 avatar

raquelann1971

New Zenner

Join Date:
Jul 2010
Posts:
11
Plugin Contributions:
0

Text size and description positioning.

Hi all. I am almost finished my website but have those few taks left that boggle.
On my home page I have unknowingly changed the font size for "Featured Products" and "Monthly Specials", the other pages are text csize correct; but, do you think I can figure out where and how I made the changes, oalso how to fix it? Any help appreciated.
My second query regards the category/subcategory pages that include a description of the category. I wish to have my subcategory navigation above the description, not below. I have followed a few links on the forum but so far nothing has worked for me.
Thanks...here is the site. :smile:
http://www.oddsnsods.com.au

23 Jul 2011, 10:22 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Text size and description positioning.

This is near the end of your greeting text:

<font face="Arial" size="3">

The <font> tag isn't closed. so that heading starts at that size and is increased to 150% in the stylesheet.

Close all the <font> tags in that text, or, much better, enter that copy in plain text, wrap it in a <div> and style it in the stylesheet.

23 Jul 2011, 10:29 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Text size and description positioning.

  1. Open includes/templates/template_default/templates/tpl_index_categories.php. Find this:
<?php // categories_description if ($current_categories_description != '') { ?> <div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description; ?></div> <?php } // categories_description ?>

Cut it and Paste it under this:

<!-- EOF: Display grid of available sub-categories -->

Save the file to includes/templates/andover_modern/templates.

23 Jul 2011, 11:08 AM
#4
raquelann1971 avatar

raquelann1971

New Zenner

Join Date:
Jul 2010
Posts:
11
Plugin Contributions:
0

Re: Text size and description positioning.

Thankyou Stevesh, I now have my subcats above my descriptions...
However, what page are you looking at to find "<font face="Arial" size="3">". Even with the Firefox thingy I cannot see where I need to correct this????
Thanks.

23 Jul 2011, 12:23 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Text size and description positioning.

It's your greeting text, probably in define_main_page.php

*buy their needs to make their experience a little more accurately period - or at least, further from mundane.<*p style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 2px" align="left">
<font face="Arial" size="3"> </font>

Adding the green part should fix your problem.

My guess is you created it in some other program and pasted it into that file. It's a much better practice to use the built-in editor or paste it as plain text and do the styling in the stylesheet.

23 Jul 2011, 11:59 PM
#6
raquelann1971 avatar

raquelann1971

New Zenner

Join Date:
Jul 2010
Posts:
11
Plugin Contributions:
0

Re: Text size and description positioning.

stevesh:

It's your greeting text, probably in define_main_page.php

*buy their needs to make their experience a little more accurately period - or at least, further from mundane.<*p style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 2px" align="left">
<font face="Arial" size="3"> </font>

Adding the green part should fix your problem.

My guess is you created it in some other program and pasted it into that file. It's a much better practice to use the built-in editor or paste it as plain text and do the styling in the stylesheet.

Thankyou that did fix it. I had spent ages looking through all my files and there it was in the admin panel....takes a second person's perspective sometimes. Thankyou so much.