{"id":4093,"date":"2018-08-30T10:10:40","date_gmt":"2018-08-30T10:10:40","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-better-compare\/?post_type=faq&#038;p=597"},"modified":"2020-06-20T12:28:42","modified_gmt":"2020-06-20T10:28:42","slug":"hide-compare-bar-on-pages","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/hide-compare-bar-on-pages\/","title":{"rendered":"Hide Compare Bar on Pages"},"content":{"rendered":"<p>If you want to hide the compare bar on certain pages you can use the following custom CSS. Replace the ID with the ID of your page:<\/p>\n<pre>body.page-id-2 #woocommerce-compare-bar {\n\tdisplay: none;\n}\n<\/pre>\n<p>To hide the compare bar on all pages use this CSS:<\/p>\n<pre>body.page #woocommerce-compare-bar {\n\tdisplay: none;\n}\n<\/pre>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-4093","faq","type-faq","status-publish","hentry","faq_topics-compare-products-faq"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=4093"}],"version-history":[{"count":0,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4093\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=4093"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=4093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}