Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Graphic images in place of text links

Locked

Started by robertrhu on 15 Jul 2009, 10:25 PM · Views: 940

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 Jul 2009, 10:25 PM
#1
robertrhu avatar

robertrhu

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Post #1 by robertrhu

Is there a way to replace text links (ie product category links) with gif or jpeg images? Also can you add javascript to these image links?

If so, how? I'm stumped.

Thanks in advance!
Robert

16 Jul 2009, 2:02 AM
#3
robertrhu avatar

robertrhu

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Post #3 by robertrhu

Thanks for the response!

I would like to make my category links graphics. So here's the link to the page...

http://openheartthreads.com/products/

The Mens Shirts and Womens Shirts links

Thanks!
Robert

16 Jul 2009, 12:35 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #4 by gjh42

Your site is looking nice! I see you found a way to get the links. I also see that you only have flat HTML pages... how do you plan to use Zen Cart? You can translate that design into Zen Cart so that your whole site will be seamless.

16 Jul 2009, 7:00 PM
#5
robertrhu avatar

robertrhu

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Post #5 by robertrhu

Thanks!

Zen cart is integrated right now as a simple shopping cart. So once you click on the Buy Now buttons it takes you to the shopping cart.

I'm new to Zen Cart so I'm not sure how to fully integrate it seamlessly. I think the way I have it setup right now will suffice for this project. But learning how to integrate it as a CMS will be great in the future.

Will it be pretty straight forward now that I have some understanding of the file structure?

16 Jul 2009, 8:25 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #6 by gjh42

I see from another thread that you already have at least one page set up in Zen Cart with your template; moving the rest will mostly be easy. You can put most of the home page content in define_main_page.php (admin > Tools > Define Pages Editor), and you may be able to use ez-pages for other existing page content.

16 Jul 2009, 9:00 PM
#7
robertrhu avatar

robertrhu

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Post #7 by robertrhu

Thanks Glenn!

Zen Cart is proving to be pretty sweet!

I still have a ton of questions though...

Might you check out another thread I posted?

Here's the link...

http://openheartthreads.com/products/index.php?main_page=product_info&cPath=2&products_id=3

I've gone through the strylesheet and separated out the the #navMain div so it can be styled on its own. But nothing happens. I've only been able to move it right using padding-left. Otherwise I can't make it do anything else.

Is there a potential conflict in the style sheet?

Here's the styling I have for #navMain:

#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0em 0em;
list-style-type: none;
text-align: center;
line-height: 1em;
}

#navMain {
padding-left: 750px;
}

#navMain ul li a:link {
color: #ffffff
text-decoration: none;
padding: 0em 0em;
margin: 0;

}

#navMain ul li, #navSupp ul li, #navCatTabs ul li {
display: inline;
}

Thanks in advance!
Robert

16 Jul 2009, 9:03 PM
#8
robertrhu avatar

robertrhu

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Post #8 by robertrhu

oooooppppps....

I didn't mean to post this in this thread!

I had 2 different windows open and accidentally pasted the other thread info into this one.

Here's a link to the actual thread I created about the styling...

https://www.zen-cart.com/forum/showthread.php?p=755884#post755884

Thanks!
Robert