Post by Valerina » Tue Apr 02, 2019 12:20 am

Hello All

What is the CSS to hide the Qty label
I was able to hide the input box and the add to cart button, but can`t figure this one out

Much appreciated.

Newbie

Posts

Joined
Mon Apr 01, 2019 7:34 pm

Post by IP_CAM » Tue Apr 02, 2019 1:59 am

It depends on the OC-Version and Theme used.
Ernie

Please don't send Personal OC Forum Messages, contact: jti@jacob.ch
---
Test Site: http://www.bigmax.ch/shop/
Github OC Downloads: https://github.com/IP-CAM
2'250+ FREE OC Extensions from the World's largest Github OC Repository Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by DigitCart » Tue Apr 02, 2019 2:01 am

Hi
try this:

Code: Select all

[for="input-quantity"] {
    display: none;
}

My Extensions / DigitCart


User avatar
Active Member
Online

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by thekrotek » Tue Apr 02, 2019 2:38 am

DigitCart wrote:
Tue Apr 02, 2019 2:01 am
Hi
try this:

Code: Select all

[for="input-quantity"] {
    display: none;
}
Won't work, if label has no "for" attribute or its value is different. Ernie's reply was more valid.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by Valerina » Tue Apr 02, 2019 2:47 am

that worked! awesome

Newbie

Posts

Joined
Mon Apr 01, 2019 7:34 pm

Post by letxobnav » Tue Apr 02, 2019 6:33 am

Yes, with all the unexpected consequences you will be reporting later.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: No registered users and 13 guests