Body class causes conflict
-
When you install the plugin it changes the default product listing from 3 columns to two.
It is caused by the add_action( ‘body_class’, array ( $this, ‘wpexperts_pdf_add_body_class’ ) );
because it changes the body class and deletes the qodef-woocommerce-columns-4 class that was originally
from
class=”archive post-type-archive post-type-archive-product logged-in admin-bar qode-core-1.3.1 woocommerce woocommerce-page woocommerce-js startit child-child-ver-1.0.0 startit-ver-2.6 qodef-smooth-scroll qodef-grid-1300 qodef-blog-installed qodef-top-bar-mobile-hide qodef-header-standard qodef-fixed-on-scroll qodef-menu-with-large-icons qodef-default-mobile-header qodef-sticky-up-mobile-header qodef-dropdown-default qodef-header-style-on-scroll qodef-search-covers-header qodef-side-menu-slide-from-right qodef-woocommerce-page qodef-woocommerce-columns-4 wpb-js-composer js-comp-ver-5.5.2 vc_responsive customize-support cookies-set cookies-accepted”
to
class=”wpexperts-page startit child-child-ver-1.0.0 startit-ver-2.6 qodef-smooth-scroll qodef-grid-1300 qodef-blog-installed qodef-top-bar-mobile-hide qodef-header-standard qodef-fixed-on-scroll qodef-menu-with-large-icons qodef-default-mobile-header qodef-sticky-up-mobile-header qodef-dropdown-default qodef-header-style-on-scroll qodef-search-covers-header qodef-side-menu-slide-from-right qodef-woocommerce-page wpb-js-composer js-comp-ver-5.5.2 vc_responsive customize-support cookies-set cookies-accepted”
How can we solve this problem?
- The topic ‘Body class causes conflict’ is closed to new replies.