Clicking Quick View opens modal at the bottom of the page

Closed
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme November 08, 2021
Login to reply
Pragz Sri
2 years ago

Found the issue.

Was using child theme and didnt realise that functions.php had a peiece of code calling the css.

add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );

function enqueue_parent_theme_style() {

    wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );

 if (is_rtl()) {

   wp_enqueue_style( 'parent-rtl', get_template_directory_uri().'/rtl.css', array(), RH_MAIN_THEME_VERSION);

 }

}

I had copied the functions.php from old child theme overwriting the code. Adding the above code back to functions.php resolved this issue.

Not sure why the developer is using code calling stylesheets in the child theme functions.php but all good. 

Pragz Sri
2 years ago

Hi, 

When clicking on the Quick view icon on product category page, the quick view opens on the bottom of the page instead of a popup. 

Regards

Additional Info

Link on page with issue: https://fabtastic.com/furniture/outdoor/outdoor-chairs/