Forums / Templates, Stylesheets, Page Layout / Positioning Cart in Product Info Page

Positioning Cart in Product Info Page

Views: 790

Results 1 to 6 of 6
8 Mar 2011, 5:27 AM
#1
aneroxic avatar

aneroxic

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Positioning Cart in Product Info Page

HI I have been trying hard to position the Cart to be inline on the top with my attribute (Size) dropdown. Right now there is a big space on top of the Cart and despite me trying to take away all padding, margins, it cant seem to move up.

Am not very well versed in CSS and hope some veteran in this can advice me

http://www.ragdoll.sg/store/index.php?main_page=product_info&cPath=1&products_id=1

8 Mar 2011, 5:43 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Positioning Cart in Product Info Page

Locate this: > store/includes/templates/custom_premium/css/stylesheet.css

Find this:> #cartAdd {

background: none repeat scroll 0 0 #F2EBE1;
border: 1px solid #DBCBB6;
clear: both;
float: right;
margin-right: 50px;
padding: 1em;
text-align: center;}
  1. The highlighted red font is your fix.
  1. Try this and change as you wish.
  1. margin: -4.6em 5em 0 0;

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

8 Mar 2011, 5:46 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Positioning Cart in Product Info Page

In your stylesheet you currently have

#cartAdd {
float:right;
clear:both;
text-align:center;
padding:1em;
background:#f2ebe1;
border: 1px solid #dbcbb6;
margin-right:50px;
}

Try changing it to this and see

#cartAdd {
float:right;
clear:both;
text-align:center;
padding:1em;
background:#f2ebe1;
border: 1px solid #dbcbb6;
margin: -5.5em 2.5em 0em 0em;
}

Zen-Venom Get Bitten

8 Mar 2011, 6:08 AM
#4
aneroxic avatar

aneroxic

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Re: Positioning Cart in Product Info Page

wow

u guys are awesome! really very helpful n made my day better!

God Bless

Lilian

8 Mar 2011, 6:12 AM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Positioning Cart in Product Info Page

You are most welcome ..
Take time one day to download the browser called Firefox (Moxilla) and download an Add On called Web Developer or Firebug. These two allow you to view your site and make changes to the stylesheet.css and when you are happy just edit the original .css file and upload the changes to your server...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

8 Mar 2011, 6:46 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Positioning Cart in Product Info Page

https://addons.mozilla.org/en-US/firefox/addon/1843
Use the FIREBUG and DEVELOPER TOOLKIT add-ons to Firefox browser to help you find relevant style classes and ID's within the template.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.