Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Shop / WooCommerce
  3. Hide Weight on Single Product Page

Hide Weight on Single Product Page

Scheduled Pinned Locked Moved Shop / WooCommerce
10 Posts 4 Posters 202 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pascal
    wrote on last edited by pascal
    #1

    Hello dear developers,
    I would like to hide the size and weight information on the woocommerce single product pages with css.

    Can you help me help me further?

    Best regards
    Pascal

    1 Reply Last reply
    0
    • arminunruhA Online
      arminunruhA Online
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      can u post a link

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pascal
        wrote on last edited by
        #3

        Hi Armin,
        our website is not yet online. Does this screenshot help you?

        Screenshot 2022-09-24 111955.jpg

        1 Reply Last reply
        0
        • arminunruhA Online
          arminunruhA Online
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          in chrome right click on it, click "inspect element", get the html class like the selector and then do

          .selector{
          display: none;
          }

          in your custom css

          if u send me a link i can find the selector for you

          i will also write this down to create a setting in lay theme for this

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pascal
            wrote on last edited by
            #5

            It works, thanks a lot!
            Pascal

            L 1 Reply Last reply
            1
            • P pascal

              It works, thanks a lot!
              Pascal

              L Offline
              L Offline
              lortnok
              wrote on last edited by
              #6

              @pascal could you tell me the selector you used?

              Thanks in advance!

              1 Reply Last reply
              0
              • arminunruhA Online
                arminunruhA Online
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                maybe ur selector is good, but maybe you need to do:

                display: none!important;
                

                instead of only

                display: none;
                
                1 Reply Last reply
                1
                • H Offline
                  H Offline
                  hayesk6
                  wrote on last edited by
                  #8

                  I am also running into this issue on my site. Could you add screenshots of that you need to select after you click inspect element? https://hayesmade.com/product/puddleknob/

                  1 Reply Last reply
                  0
                  • arminunruhA Online
                    arminunruhA Online
                    arminunruh
                    Global Moderator
                    wrote on last edited by
                    #9

                    try this:

                    .woocommerce-product-attributes{
                    display: none!important;
                    }
                    
                    H 1 Reply Last reply
                    0
                    • arminunruhA arminunruh

                      try this:

                      .woocommerce-product-attributes{
                      display: none!important;
                      }
                      
                      H Offline
                      H Offline
                      hayesk6
                      wrote on last edited by
                      #10

                      @arminunruh Thank you!

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      I also code custom websites or custom Lay features.
                      šŸ’æ Email me here: šŸ’æ
                      info@laytheme.com

                      Before you post:
                      1. When using a WordPress Cache plugin, disable it or clear your cache.
                      2. Update Lay Theme and all Lay Theme Addons
                      3. Disable all Plugins
                      4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                      This often solves issues you might run into

                      When you post:
                      1. Post a link to where the problem is
                      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                      Online Users
                      arminunruhA
                      arminunruh
                      F
                      francesco
                      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                      laytheme.com
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search