Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #341322

    Link: http://www.offshorekurs.com/kurs/gsk-sikkerhetskurs-kampanje/
    The image is 100% and shall not be like that. This happened when i did some changes with product content. Have discovered the problem earlier and solved it by changing the layout dimension and saved it. This time it does not work.

    Please advice how i can get back normal view.

    #341323

    WP Super Cache and CloudFare turned off. Have empty the cached when tested and confirmed the error.

    #341701

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single-product-main-image { width: 20%!important; float: left !important; }
    .single-product-summary { width: 31%; }

    Best regards,
    Yigit

    #342224

    Do you know what cause this error? I deleted custom code on product and css but the error is still there. Some thing must have caused this and i deeply want to know the reason.

    It seems to be a bug with the theme version 3.0.2 because the error is also on a test-site which i have not done any changes. Please check this out!!!!

    With your tweaks the widgets is not aligned below the image.

    #342545

    Happy to say that the problem is solved and the error caused by codelines to make extra bar on right side:

    /* wrap single product image in an extra div */
    /*add_action( ‘woocommerce_before_single_product_summary’, ‘avia_add_image_div’, 2);
    add_action( ‘woocommerce_before_single_product_summary’, ‘avia_close_image_div’, 20);
    function avia_add_image_div() {
    echo “<div class=’four units single-product-main-image alpha’>”;
    }*/

    /*function avia_close_image_div() {
    global $avia_config;
    $avia_config[‘currently_viewing’] = “shop_single”;

    echo “</div>”;
    }*/

    /* wrap single product summary in an extra div */
    /*add_action( ‘woocommerce_before_single_product_summary’, ‘avia_add_summary_div’, 25);
    add_action( ‘woocommerce_after_single_product_summary’, ‘avia_close_summary_div’, 3);
    function avia_add_summary_div() {
    echo “<div class=’five units single-product-summary’>”;
    }*/

    /*function avia_close_summary_div() {
    echo “</div>”; //close out the summary
    echo “<div class=’three units single-product-sidebar’>”;
    get_sidebar();
    echo “</div>”;
    }*/

    Thank you for helping sorting out the problem.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Single Product Page shows image 100%. Its wrong!’ is closed to new replies.