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
CSS for links generated through inc files, category links?
Author Message
Reply with quote
Post CSS for links generated through inc files, category links? 
I am trying to change the style of the default blue underlined links generated through inc files and category links. These links generated through inc files could be found when you click on search or click product category. I tried adding CSS on manager.cgi and also within the page of all my html files in html folder but it didn't work. Seems like these links are generated through the main agora.cgi file. Can someone please help me change these ugly links?

http://worldmystery.com/factoryconnector/shop.cgi

View user's profile Send private message Visit poster's website MSN Messenger
Reply with quote
Post  
Making a global change of the link color is done in the manager -> Store Layout.
For finding out how to place CSS, javascript, and meta tags take a look at the following thread:
http://www.agoraguide.com/faq/viewtopic.php?t=1156

Looking at your page, to use the CSS on your category links, you will need to add the CSS class, as follows:
Look for the following in your store_header.inc file:
Code:

  print "&nbsp;&nbsp;<a href=\"shop.cgi?cart_id=%%cart_id%%&product=",
    "$category\"> $category2 </a><br>\n";


Change to:
Code:
  print "&nbsp;&nbsp;<a href=\"shop.cgi?cart_id=%%cart_id%%&product=",
    "$category\" class=\"menu\"> $category2 </a><br>\n";


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 It works 
Thank you. It works as you told me.

View user's profile Send private message Visit poster's website MSN Messenger
Reply with quote
Post  
Yeah!! That's always good to hear!
Very Happy


_________________
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