CRE Loaded Community

Banner


Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: infobox Categories Edit Font
PostPosted: Wed Jan 27, 2010 3:52 pm 
Offline
CRE Freak
User avatar

Joined: Wed Nov 18, 2009 10:24 am
Posts: 97
OK... I am sure this is easy however I have spent hours looking through all of my pages, forms and searching the net...

I am running 6.4.1. I am using a non-provided template. I want to edit the infobox Categories as to font size, color, etc...

My template .css folder does NOT have an infobox.css file. I have looked at my stylesheet.css and template.css many times over.

There is nothing in the stylesheet.css referring to infobox. I do see the infobox global settings in the template.css but nothing specific to the Categories box.

I have also looked at the categories.php but not seeing where to make any changes.

Any guidance #1 as to what to look for to determine where the current Categories box is getting it's font information? Or #2 where else to be looking for what file to make any changes?

thanks...
http://electronicpeaces.com


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Wed Jan 27, 2010 4:00 pm 
Offline
CRE Expert

Joined: Thu Jul 13, 2006 12:00 am
Posts: 653
try this

Quote:
http://www.electronicpeaces.com/templates/OS03C00308/stylesheet.css

.boxText (line 12)

{

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

font-size: 11px;

}

_________________
Regards,

------------------------------------------------------------------------
Kirk Osburne

CRE everything
WebGraphicsSource.com
------------------------------------------------------------------------


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Wed Jan 27, 2010 4:09 pm 
Offline
CRE Freak
User avatar

Joined: Wed Nov 18, 2009 10:24 am
Posts: 97
Thanks Kirk,

I have tried that. You can see from viewing my source code that the class for both my Categories and the infoboxes on the right side are all (class="boxText).

The boxText apears to be correct on the other infoboxes and too large on the Categories. Something seems to be affecting the box that the Categories are set in.

Additional... I may nee to revisit the original template files... the Categories should also have dots in front and list the number of items to the right.

Back later if I can't figure it out.

Thanks!


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Wed Jan 27, 2010 5:42 pm 
Offline
CRE Talented

Joined: Sun Nov 29, 2009 10:57 am
Posts: 348
You seem to missing a
Code:
<td class="category">
for your category infobox

yet all your infobox styling is in the css/template.css file..

Strange you dont have an infobox.css file using an algozone template..
Still, just make a new class called category in your stylesheet..

_________________
CSS Store - http://mdjl40.mdjl-demo.co.uk -Work in Progress
YMM Filter Lists - http://mdjl-demo.co.uk/6-4-1a -Pagnation/Filter Lists


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Thu Jan 28, 2010 11:03 am 
Offline
CRE Freak
User avatar

Joined: Wed Nov 18, 2009 10:24 am
Posts: 97
OK... I have been to AlgoZone and confirmed that there is no infoBox.css required for this template. I agree when looking at the source for my home page the Category box is looking for the category class...

However, this is what is in my categories.php file...

Released under the GNU General Public License
*/
function tep_show_category($counter) {
global $tree, $categories_string, $cPath_array;

if($tree[$counter]['level'] > 0){
$categories_string .= '<div class="az_cat_nav">&nbsp;&nbsp;';
}else{
$categories_string .= '<div class="az_cat_nav"><img src="'. DIR_WS_TEMPLATE_IMAGES

So why is the code on my Home page looking for td class="category" when it should be pointing to "az_cat_nav" ?

I am open to any suggestions.


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Thu Jan 28, 2010 11:37 am 
Offline
CRE Addict
User avatar

Joined: Wed Sep 16, 2009 10:47 am
Posts: 218
Location: Indiana, USA
Go to stylesheet.css in template folder and add

Code:
.category {
font-family:Tahoma,Verdana,Arial,sans-serif;
font-size:11px;
}


You're done.

Best regards,

_________________
Jody
Easy Store Sites
Specializing in Affilate Marketing
& Drop Shipping Websites


Are you a Help Vampire? Learn how to tell...


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Thu Jan 28, 2010 11:45 am 
Offline
CRE Freak
User avatar

Joined: Wed Nov 18, 2009 10:24 am
Posts: 97
Thanks for the information... your fix only fixed the fontsize... it does not add the bullet (az_bullet.gif) in front of the category name nor the product count after the category name.

Both are called in the categories.php and viewable in the template demo.

Thoughts?

Attached is what it is supposed to look like...

Last edit... as I look closer at the template demo http://demo.algozone.com/oscommerce/OS03C00308/
none of my infoBoxes are right.

I have deleted all template files from my site and reinstalled the template 3 times now with no change. I am open to any thoughts. Thanks...


You do not have the required permissions to view the files attached to this post.


Last edited by Peaces on Thu Jan 28, 2010 12:24 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Thu Jan 28, 2010 12:22 pm 
Offline
CRE Addict
User avatar

Joined: Wed Sep 16, 2009 10:47 am
Posts: 218
Location: Indiana, USA
This is a question you should be asking Algozone. Your template is broken and was asking for a class that wasn't even in the stylesheet.css. That is an Algozone problem and they should fix it. Pulling images and design work is probably in the template/boxes folder but typically there are more than one category box file and you need to make sure you're looking in the one you've chosen in the Admin.

Your category class should have been in the stylesheet to begin with. The code you pasted

img src="'. DIR_WS_TEMPLATE_IMAGES

is cut off or incomplete. That code correctly defines the place where template images would be found (path) but not the image file name.

If they showed one thing and delivered another then they need to fix it. Neither I nor you should fix their problem.

Best regards,

_________________
Jody
Easy Store Sites
Specializing in Affilate Marketing
& Drop Shipping Websites


Are you a Help Vampire? Learn how to tell...


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Thu Jan 28, 2010 12:29 pm 
Offline
CRE Freak
User avatar

Joined: Wed Nov 18, 2009 10:24 am
Posts: 97
In agreement. I will try them again and see if they will help now that I have reinstalled ... again cleanly with no changes to their code.

We'll see.

Thanks for all the input!


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Fri Jan 29, 2010 10:38 am 
Offline
CRE Freak
User avatar

Joined: Wed Nov 18, 2009 10:24 am
Posts: 97
I wanted to publically acknowledge that AlgoZone did provide me with two edited files for the template that fixed my issues. They stood behind their product and it is greatly appreciated.

I sent them a thank you and I wanted to be sure I did the same here for anyone who is thinking about using them.

My faith in their after-the-sale support has been strengthened.

I appreciate all of you who have put in your 2 cents to try and help as well.


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Fri Jan 29, 2010 11:04 am 
Offline
CRE Talented

Joined: Sun Nov 29, 2009 10:57 am
Posts: 348
Glad you got it sorted, 8)

Without posting the code, what exactly was wrong and which two files were edited by them to correct the problem?

_________________
CSS Store - http://mdjl40.mdjl-demo.co.uk -Work in Progress
YMM Filter Lists - http://mdjl-demo.co.uk/6-4-1a -Pagnation/Filter Lists


Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Fri Jan 29, 2010 11:12 am 
Offline
CRE Freak
User avatar

Joined: Wed Nov 18, 2009 10:24 am
Posts: 97
The two files were...
boxes.tpl.php and template.php

In the template.php
This --- define('DIR_FS_TEMPLATE_BOXES', DIR_FS_CATALOG . 'templates/'.TEMPLATE_NAME.'/boxes');
Was changed to --- define('DIR_FS_TEMPLATE_BOXES', DIR_FS_CATALOG . 'templates/'.TEMPLATE_NAME.'/boxes/');

In the boxes.tpl.php
This --- if (TEMPLATE_BOX_IMAGE_BORDER_TOP_LEFTRIGHT == 'true') {
if (tep_not_null($right_link)) {
$right_arrow = '&nbsp;<a href="' . $right_link . '">' . tep_image(TEMPLATE_BOX_IMAGE_TOP_RIGHTARROW, ICON_ARROW_RIGHT) . '</a>';
} else {
$right_arrow = tep_image(TEMPLATE_BOX_IMAGE_TOP_NOARROW);
}
} else {
$right_arrow = tep_image(TEMPLATE_BOX_IMAGE_TOP_NOARROW);
Was changed to --- if (TEMPLATE_BOX_IMAGE_BORDER_TOP_LEFTRIGHT == 'true') {
if (tep_not_null($right_link)) {
$right_arrow = '&nbsp;<a href="' . $right_link . '">' .
tep_image(TEMPLATE_BOX_IMAGE_TOP_RIGHTARROW, ICON_ARROW_RIGHT) . '</a>';
} else {
$right_arrow = "";
}
} else {
$right_arrow = "";


Last edited by Peaces on Fri Jan 29, 2010 12:16 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: infobox Categories Edit Font
PostPosted: Fri Jan 29, 2010 11:38 am 
Offline
CRE Addict
User avatar

Joined: Wed Sep 16, 2009 10:47 am
Posts: 218
Location: Indiana, USA
I figured they'd fix it. I've never had a bad experience with Algo. The other CRE recommended template seller I've never had a good experience. Only one choice as far as I'm concerned - Algozone.

Best regards,

Jody

_________________
Jody
Easy Store Sites
Specializing in Affilate Marketing
& Drop Shipping Websites


Are you a Help Vampire? Learn how to tell...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed Feb 08, 2012 8:23 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

Follow Us on Twitter

An error occurred

Oops, an error seems to have occurred. We're sorry for any inconvenience this might have caused. If the error persists, feel free to tell us about it.

CRE Loaded Community Chat hosted by CRE Loaded.

Join now


Chat about what's on your mind. More about public chats.


© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy