Tagged: x
-
AuthorPosts
-
November 13, 2016 at 10:43 am #1255307
lilyParticipantHi,
Is there a code that will display olark on a certain page and hide from all other pages?
I want to display it here, but exclude it from other pages:
http://viktoriyaandoksana.com/shop/
http://viktoriyaandoksana.com/ebook/Thank you!
November 13, 2016 at 10:56 am #1255320
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.olrk-noquirks { display: none !important; } .post-type-archive-product .olrk-noquirks, .page-id-4057 .olrk-noquirks { display: block !important; }Hope it helps 🙂
November 15, 2016 at 3:42 pm #1258475
lilyParticipantthat’s perfect!
Is it also possible to display olark on all individual products (I have a total of 4 products on my shop page). Is there a code that will display on all individual product pages?
http://viktoriyaandoksana.com/product/acne-treatment/
http://viktoriyaandoksana.com/product/4-weeks-of-health-coaching/
http://viktoriyaandoksana.com/product/1-week-of-health-coaching/
http://viktoriyaandoksana.com/product/7-day-detox-by-viktoriya-and-oksana-gruzdyn/and display olark on this category:
http://viktoriyaandoksana.com/product-category/health-coaching/Could you tell me how to look up the .post-type names for the post or page? I can locate the page IDs, but I’m not sure how to locate the correct post types or product posts to add into the code in case if I decide to add olark into another page as well?
thank you!
November 15, 2016 at 10:30 pm #1258926
RupokMemberHi there,
Yes it’s possible. Let’s add this :
.single-product .olrk-noquirks, .woocommerce.archive .olrk-noquirks { display: block !important; }Hope this helps.
November 16, 2016 at 7:54 pm #1260408
lilyParticipantyes, this helps!
thank you!
November 16, 2016 at 9:46 pm #1260486
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1255307 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
