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

I'm no longer active at the OC Forum. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in Action here: http://www.jti.li/shop/
---
940+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


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
“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.


Active Member
Online

Posts

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

Users browsing this forum: No registered users and 33 guests