1

I got this annoying issue:

enter image description here

that's unwanted spaces thats caused by unknown HTML:

enter image description here

enter image description here

My question is how to remove that unwanted annoying html (UL/LI) from home page?

Thanks

  • You can manage it from here: /var/www/html/magento226/vendor/magento/theme-frontend-luma/Magento_Catalog/layout/default.xml – Ravi Soni May 17 '19 at 10:32
0

You can actually remove it using CSS rule display:none of display property in your custom CSS:

ul.compare{
  display:none;
}
  • 1
    can I use something like <referenceBlock name="name.here" remove="true"/>? – Yusuf Ibrahim May 17 '19 at 10:21
  • yah that should work as well, but do it with caution as other element in that block will also be removed. – fmsthird May 17 '19 at 10:23
  • I am prefer to remove it using <referenceBlock name="name.here" remove="true"/>, but I don't know the name of this element? – Yusuf Ibrahim May 20 '19 at 2:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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