Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1082963

    Hey there,
    is there an easy way to make the description on the single product page full-width with CSS without tampering with core Woo files?

    Thanks

    #1084019

    Hey Justin,

    Can you try adding this php code in functions.php:

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 12 );

    Best regards,
    Nikko

    #1084303

    Close…thanks Nikko
    But some odd stuff still happening here.

    #1084524

    Hi Justin,

    Please use only this code:

    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 12 );

    then in wp-content > themes > enfold > config-woocommerce > config.php find (line 1141):

    add_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );

    just comment it out or remove.

    Best regards,
    Nikko

    #1085690

    Nikko, do I add this file to my child theme? I was trying to avoid any customization with theme files.

    The word ‘description’ (shown twice) is not needed at all. Neither is the border. The h2 tags are 16px :/
    Do I simply rely on just styling the rest of it to get my desired results?

    Thanks

    • This reply was modified 5 years, 7 months ago by Justin.
    #1086414

    Hi Justin,

    Please try using this css:

    
    #tab-description h2 {
        display: none;
    }
    

    Best regards,
    Victoria

    #1088934

    Thanks Victoria, did a few CSS updates.
    But trying to now get rid of related products….but it’s not reflecting on the front end for me.

    #1089386

    Hi Justin,

    The link you posted redirects to the homepage, please check.
    As for the issue, try to clear the cache (plugin and browser).
    If that doesn’t help try to temporarily disable CSS file merging and compression in Enfold > Performance.

    Best regards,
    Nikko

    #1089540

    Thanks Nikko,
    Added some further customization to the functions file and sorted it out.

    #1089569

    Hi Justin,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Full-Width Description WooCommerce’ is closed to new replies.