Change option textbox size product page Opencart

Hi im trying to change the textbox size of an option textbox thats on my product pages,

The problem is that it will change all textbox sizes on the website cause it uses the same css property, so the textboxes of the login also increase in size at (index.php?route=account/login)

How can i make it so that only the product page textboxes increase

input[type="text"], input[type="password"], textarea {
background: #F8F8F8;
border: 1px solid #CCC;
padding: 3px;
margin-left: 0px;
margin-right: 0px;
width: 279px;             <= "Added by me " 

Answers


check body class on products page and add it before input in css. Example:

body.product-class input{

}

or add class to inputs on product page.


Need Your Help

How to read doubles from .txt file into an ArrayList

java arraylist java.util.scanner

I'm trying to read doubles from a file that contains 100,000 doubles, arranged in lines of two doubles each separated by a space. Like this:

UIView doesn't resize to full screen when hiding the nav bar & tab bar

iphone iphone-sdk-3.0 uitextview

I have an app that has a tab bar &amp; nav bar for normal interaction. One of my screens is a large portion of text, so I allow the user to tap to go full screen (sort of like Photos.app).