Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chamisaedmo

    (@chamisaedmo)

    Update: I added a file to handle the woo specific content. It’s now pretty much woo-compatible!! WOO! Lol thanks again for being so responsive, @themeeverest! 🙂

    Thread Starter chamisaedmo

    (@chamisaedmo)

    Thank you @themeeverest for taking a look!! Unfortunately that CSS doesn’t seem to be working.. I was considering adding theme support functions and also adding hooks into the theme functions file:

    add_theme_support( 'wc-product-gallery-slider' );
    add_theme_support( 'wc-product-gallery-zoom' );
    add_theme_support( 'wc-product-gallery-lightbox' );
    remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
    remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);

    and then:

    add_action('woocommerce_before_main_content', 'my_theme_wrapper_start', 10);
    add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10);
    
    function my_theme_wrapper_start() {
      echo '<section id="main">';
    }
    
    function my_theme_wrapper_end() {
      echo '</section>';
    }

    I found these in while searching for simple ways to make non-woo sites woo compatible. Do you have any recommendations about where I should put them? 🙂 I’m still familiarizing myself with the order of functions in wp.

    Thread Starter chamisaedmo

    (@chamisaedmo)

    Thanks, @arcangelini. I’ll give that a shot!!

Viewing 3 replies - 1 through 3 (of 3 total)