X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Add CSS to a link (https://forum.x-cart.com/showthread.php?t=38139)

kingofsales 03-08-2008 09:45 AM

Re: Advanced Search text color CSS to change?
 
How to include the class in the link? I tried many different ways, still won't work. Please help.

balinor 03-08-2008 09:48 AM

Re: Add CSS to a link
 
Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:

http://forum.x-cart.com/showthread.php?t=23970

Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly.

Also, the thread you posted in was almost 3 years old. As old threads are no longer subscribed to, and usually relate to versions that are outdated, it is best to start a new thread rather than post in one that is more than a year old. I"ve moved your post to a new thread.

To answer your question, to add a class to a link, you use this format:

<a href="link.html" class="classname">link</a>

You'd then add .classname as a class in skin1.css.

kingofsales 03-08-2008 01:42 PM

Re: Add CSS to a link
 
You are awesome! Thanks!

balinor 03-08-2008 01:58 PM

Re: Add CSS to a link
 
Thanks, but can you please read the thread i posted above and update your signature as requested? It is required to use this forum. Thank you! :)


All times are GMT -8. The time now is 11:50 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.