Post by PhantomMenace » Fri Feb 03, 2017 9:34 pm

Hi im trying to change the textbox size of an option textbox that's 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

Code: Select all

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 " 

New member

Posts

Joined
Wed Dec 30, 2015 6:03 am

Post by knowband.plugins » Fri Feb 03, 2017 10:09 pm

Try using the following CSS code.

div.product-info input[type="text"] {
width:150px !important;
}

If it doesn't work, please share your website URL so that we can recommend code.

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm

Post by PhantomMenace » Fri Feb 03, 2017 10:44 pm

knowband.plugins wrote:Try using the following CSS code.

div.product-info input[type="text"] {
width:150px !important;
}

If it doesn't work, please share your website URL so that we can recommend code.

Awesome that did the trick!

Thank you very much,

New member

Posts

Joined
Wed Dec 30, 2015 6:03 am
Who is online

Users browsing this forum: Majestic-12 [Bot] and 76 guests