Forums / Templates, Stylesheets, Page Layout / Moved "Add to cart below attributes" but broke the layout

Moved "Add to cart below attributes" but broke the layout

Locked

Started by ufi911 on 31 Jan 2010, 3:43 AM · Views: 1,348

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
31 Jan 2010, 3:43 AM
#1
ufi911 avatar

ufi911

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Moved "Add to cart below attributes" but broke the layout

I moved my add to cart to the bottom of the page per this thread:
http://www.zen-cart.com/forum/showthread.php?p=607239#post607239

It worked great, but now anything after "Add to cart" needs to be moved AWAY (or down the page) from add to cart. Currently it looks like this:

Attachment #6981

How can I create move vertical space after "Add to cart"?

I have a feeling the answer lies in tpl_product_info_display.php but I have no idea where to start and I'm scared to break anything.

Thanks in advance,

-John

31 Jan 2010, 4:18 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Moved "Add to cart below attributes" but broke the layout

We could probably help if we could see the site itself.

31 Jan 2010, 5:33 PM
#3
ufi911 avatar

ufi911

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Re: Moved "Add to cart below attributes" but broke the layout

Sorry, I thought I was being more specific with the picture rather than a URL. I'm new around here and doing my best to stay out of trouble :shocking:

Here is a link: http://www.bigrocktrees.com/index.php?main_page=product_info&cPath=1&products_id=11&zenid=51ef8fea946e9442e2d5a7ffb24a6288

As you will see, immediately after the "add to cart" button it says "This product was added to our catalog..."

It used to have the "Write Review" button until I removed that.

The real issue I'm having is anything after "Add to cart" is too close. I would like to move everything after add to cart down to at least the next line, maybe another line or two if possible.

I hope that helps explain my question a little better.

Thanks,

-John

31 Jan 2010, 5:42 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Moved "Add to cart below attributes" but broke the layout

You could do something like this in the stylesheet:

#productDateAdded {margin-top:80px;}

But I think the best answer in this particular case is to turn that 'date added' thing off in admin. I doubt if visitors care, unless there's some reason to have it there with your type of products.

p.s. We love links to the site in question. That way we can look at what you've done with various tools like Web Developer to figure out what's going on.

31 Jan 2010, 5:45 PM
#5
ufi911 avatar

ufi911

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Re: Moved "Add to cart below attributes" but broke the layout

I agree Steve - remove the "Date Added" is a good idea and I'll go give that a shot. But I'm guessing "Tell a friend" is just going to take it's place. All of these used to be lower on the page.

I'll go give it a shot.

Thank you,

-John

31 Jan 2010, 5:55 PM
#6
ufi911 avatar

ufi911

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Re: Moved "Add to cart below attributes" but broke the layout

Problem solved. I removed the "Date added" and everything looks fine.

Thanks for the help,

-John