0

i have a problem with my woocommerce, I cant remove the page title in the product on desktop view. Anyone know what can i do ? thank you very much

store https://kingsport.ro

enter image description here

2 Answers 2

1

Write the CSS into style.css file

@media only screen and (min-width: 768px) {
   .single-product .title-desc {
      display: none;
    }
}

.single-product CSS will only work on single product details. It will not create any issue on other pages.

4
  • guys thanks for helping but maybe I did it wrong but didn't work. Can you tell me exactly where to paste the code maybe I pasted it somewhere else? I added it on style.css but nothing changed. thanks i.sstatic.net/7J8kX.jpg Feb 4, 2019 at 12:46
  • If it is not working there, you can go appearance -> customize ->additional CSS box and put the CSS there Feb 4, 2019 at 13:04
  • Also you will clear the cache. Feb 4, 2019 at 13:06
  • I tryed that and look for tutorials but my additional css looks different, what could it be? ibb.co/gtwWLSw Feb 5, 2019 at 18:34
0

You can use below css to remove the title on desktop view through the media query

.post-type-archive-product .page-title {
    display: none;
}
5
  • guys thanks for helping but maybe I did it wrong but didn't work. Can you tell me exactly where to paste the code maybe I pasted it somewhere else? I added it on style.css but nothing changed. thanks i.sstatic.net/7J8kX.jpg Feb 4, 2019 at 12:45
  • Please add these style in "wp-content/themes/wr-nitro/assets/woorockets/css/main.css" this file .title-desc > h1 {display:none !important;} Feb 4, 2019 at 13:54
  • hi, thanks but still didn't work :( ibb.co/kMMCZYQ Feb 5, 2019 at 18:32
  • HI You want to remove Title from these pages am i correct? kingsport.ro/product/… Feb 6, 2019 at 8:55
  • hi, yes man so as you can see when you go to all products page view it show that ugly title , but only on desktop, on mobile no problem.... So i can't figure out how to remove it to not have that ugly text space ibb.co/XC6t6xk Feb 7, 2019 at 11:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.