• redlaw03

    (@aetas03)


    Hi

    There is a large white space between the product tags and description tab.

    How can I solve this or change the layout. Website link

    See image illistration

Viewing 5 replies - 1 through 5 (of 5 total)
  • Jaiveer Rawat

    (@jaiveerrawat121)

    Just add bottom CSS into your style.css file.

    .wc-tabs-wrapper, .woocommerce-tabs {
    margin-top: 40px!important;
    }

    Thread Starter redlaw03

    (@aetas03)

    It worked, thank you very much, do you know how to change the tab location (I want to have it under the tags, next to gallery images)

    Jaiveer Rawat

    (@jaiveerrawat121)

    Welcome!

    Yes, I know that how to change the tab location.

    Just open the function.php(I hope you know that file location of function.php) file and add bottom code into your function.php file. But please take a backup of function.php file before adding the code.

    // Removes tabs from original location
    remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 10 );

    // Insert tabs next to gallery images
    add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 60 );

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    Just to add a good thing would be to use a child theme instead of adding to the theme functions.php file. If you use a child theme you won’t lose any changes with an update.

    https://www.kadencethemes.com/child-themes/

    Ben
    Kadence Themes

    JaneBarnes

    (@janebarnes)

    Hi, I added the code above to the style sheet, but still have the white space between the short and main description. I’ll link the page, any help most appreciated. Thanks.Link

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘White space between tags and long description’ is closed to new replies.