The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Editing the Size of Links on the Left-hand menu
Author Message
Reply with quote
Post Editing the Size of Links on the Left-hand menu 
Hi,

Is there a way to edit the size of the links to the different categories that appear on the left side of the cart? Right now, they're really small and hard to read. Also, is there a way to change the color the links to categories show on the index.html page show up as without changing the colors of all the links on the page? I've edited the background to be dark, so blue links don't show, but the left bar is a light grey, and light links don't show up too well there.

Thanks!

JMRC

View user's profile Send private message
Reply with quote
Post  
JMRC,
This is a good place to employ the use of CSS...
To edit the size and color of the links in the left nav bar, you will need to edit the store_header.inc file in the 'html/html-templates' directory.
To use CSS, follow the info given in the following threads:
http://www.agoraguide.com/faq/viewtopic.php?t=1156
http://www.agoraguide.com/faq/viewtopic.php?t=358

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Hi I have tried to edit the font color for catagories as described, simply changing the color makes the product page jump to the bottom of the page and in general throws the whole page out of wack!

below is the code to that point

<!--BEGIN HEADER TABLE-->
<table WIDTH=765 HEIGHT=28 BGCOLOR="#000000" BORDER=0 CELLPADDING=0 CELLSPACING=0>
<tr>
<td HEIGHT=40 ALIGN=CENTER>
<font face="Verdana, Arial" size="4" color="#ffffff"><b>Online Pro Shop</b><br></font>
<font face="Verdana, Arial" size="2" color="#ffffff"><i>Thanks for visiting our store!</i></font>
</td><td HEIGHT=40 ALIGN=right><font face="Verdana, Arial" color="#ffffff" size=2>
<form METHOD="POST" ACTION="agora.cgi">
<input TYPE="hidden" NAME="cart_id" VALUE="%%cart_id%%">
<input TYPE="text" NAME="keywords" SIZE=20 MAXLENGTH=40>
<input TYPE="hidden" NAME="ppinc" VALUE="search">
<input TYPE="hidden" NAME="exact_match" VALUE="on">
<input TYPE="submit" NAME="search_request_button" VALUE=" Search "></form></font>
</td></tr></TABLE>
<TABLE WIDTH=765 BORDER=0 CELLSPACING=0 CELLPADDING=0 align=top>
<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=blank.gif" bgcolor="#000000" height=100%><img src="agora.cgi?secpicserve=blank.gif" width="145" height="1" border="0"><br><br>
<b><font face="verdana,arial" color="#ffffff" size=-1><CENTER>Categories:</CENTER></font>
<font face="verdana,arial" color="white" size=-1>
<!--agorascript-pre {
local(%db_ele,$sku,$category,%category_list);
if (!($sc_db_lib_was_loaded =~ /yes/i))
{ &require_supporting_libraries (__FILE__, __LINE__, "$sc_db_lib_path"); }
&capture_STDOUT;
&get_prod_db_element($db{"product"},*db_ele);
foreach $sku (keys %db_ele) {
$category = $db_ele{$sku};
$category_list{$category}++;
}
foreach $category (sort(keys %category_list)) {
$category2 = $category;
$category2 =~ s/_/ /ig;
print "&nbsp;&nbsp;&nbsp;<a href=\"agora.cgi?cart_id=%%cart_id%%&product=",
"$category\">$category2</a><br>\n";
}
&uncapture_STDOUT; }
--></font></b>

View user's profile Send private message
Reply with quote
Post  
What is the URL to your store?


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
http://www.probassshop.net click on "shop"

View user's profile Send private message
Reply with quote
Post  
I am not seeing a problem in the store... Did you restore the original file?
What are you using to edit the file with?
The editor may be automatically closing tags that shouldn't be closed...

hTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
YES I did restore the old file ......I am just trying to change the color of the categories link text. I have had sucess changing the index page but not the pages when you select a category. I found another post that used :

<BODY text=#000000 Link=#FFFFFF vlink=#666666 BGCOLOR="#FFFFFF">

this works on the index.htm but need to control all pages in the store.

thanks

View user's profile Send private message
Reply with quote
Post  
You will want to use CSS to control the link colors. Inline style works fine for that.

You can use something like this:
Code:

$category2 =~ s/_/ /ig;
  print "&nbsp;&nbsp;&nbsp;<a href=\"agora.cgi?cart_id=%%cart_id%%&product=",
    "$category\" style=\"color:white\">$category2</a><br>\n";


Make sure that your html editor is set to NOT auto-close tags.....

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:
Reply to topic Page 1 of 1
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 vote in polls in this forum