close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

how to control the alignment of WA_Store_Cart_1_ATC_Form

Thread began 2/22/2013 12:44 pm by tim299030 | Last modified 2/22/2013 2:23 pm by Jason Byrnes | 494 views | 6 replies |

tim299030

how to control the alignment of WA_Store_Cart_1_ATC_Form

I'm not sure if this is the correct way to do it, but I want to align the "QTY:" and options form on the products_detail.php to the left rather than have it centered. I've changed many things (and changed them back) but nothing changes the alignment.

I've tried changing margins, text-align, etc. on both the "product_details.css" and haven't had any success. I'm attaching a screen shot to show what I'm trying to align.

Thanks in advance for any help.

Sign in to reply to this post

Jason ByrnesWebAssist

please provide a link where i can see the problem, and I can tell the css that needs to be changed.

Sign in to reply to this post

tim299030

https://store.csspub.com/products_detail.php?ProductID=565

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/plugins/catalog/css/products_detail.css file, the following css is causing the qty box to shift to the right.

.productDetailWrapper .addToCart form label {
padding:6px 3px 0 3px;
width:140px;
text-align:right;
display:inline-block;
margin:0;
white-space:normal;
height:auto;
}



change the text align to left and the width to move the qty box to the left.

Sign in to reply to this post

tim299030

Thank you, Jason. Weird -- I made that change to my css file but it didn't take on the site -- it still showed "right". The only way I can make the change is editing it through my ftp client -- then it works.

How do I get the text field to align left? I tried doing a "text-align: left" in .productDetailWrapper .addToCart form input#WA_Store_Cart_1_Quantity_Add but it didn't work. What am I missing there?

Sign in to reply to this post

tim299030

Forget my last post -- I figured it out. Thanks for your help.

Any idea, though, why it wouldn't accept my edits from DW uploaded through DW ftp interface?

Sign in to reply to this post

Jason ByrnesWebAssist

sometimes the DW FTP just losses the connection. to be honest, i trust the DW FTP client as far as i can through it and always use a 3rd party FTP client like File Zilla.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...