Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1199348

    Hello,

    I would like to ask you if it is possible to set the width of the product description to 100% so it can cover the entire section, as it is shown in the image
    here: https://imgur.com/a/G01sGHj

    I have added the below code to Custom CSS, but no luck:
    .woocommerce-page .main-column.col-md-8 {
    width: 100%;
    }
    .woocommerce-page .sidebar.sidebar-column.col-md-4 {
    display: none;
    }

    Best Regards,
    Leo

    • This topic was modified 4 years, 7 months ago by techielab.
    #1199507

    Hi Leonidas,

    Can you give us a link to the page mentioned? so we can check further why it’s not working.

    Best regards,
    Nikko

    #1199534

    Hello you can check here: https://teleshop.gr/product/blue-blouse/

    Thank you!

    #1199710

    Hi techielab,

    It’s not possible with CSS alone, you’ll need to do the following steps:
    1. Go to wp-content > themes > enfold > config-woocommerce > config.php (line 1181):

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

    replace with:

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

    (though it is not recommended to make a change in the core of the parent theme, however just using remove_action in the child theme’s functions.php doesn’t negate it, so you’ll need to remove or comment it out)

    2. In your child theme’s functions.php add this code:

    add_action( 'woocommerce_after_single_product', 'woocommerce_output_product_data_tabs_opening_div', 4 );
    add_action( 'woocommerce_after_single_product', 'woocommerce_output_product_data_tabs', 5 );
    add_action( 'woocommerce_after_single_product', 'woocommerce_output_product_data_tabs_closing_div', 6 );
    
    function woocommerce_output_product_data_tabs_opening_div() {
    	echo '<div class="product">';
    }
    
    function woocommerce_output_product_data_tabs_closing_div() {
    	echo '</div>';
    }

    Best regards,
    Nikko

    #1199809

    Hello,

    thank you for your quick reply! When you say child theme’s functions.php, you mean at the directory /wp-content / themes / enfold / functions-enfold.php ?

    Thanks!

    #1200047

    Hi,

    You can place it in the parent theme, look for the function.php file. Not the one you referred to. Please note that any edit you do to that file will be overwritten on updates though. Consider installing a child theme file you need to customise the theme: https://kriesi.at/documentation/enfold/install-enfold-theme/#why-child-theme

    Best regards,
    Rikard

    #1220677

    Hello,

    i did what you mentioned and while it works fine, the problem is that the linked products i have added (under product data), appear in the middle of the page (example https://autoleaders.gr/product/gps-tracker-teltonika-fmb130-%ce%bc%ce%b5-bluethooth-%cf%87%cf%89%cf%81%ce%af%cf%82-%ce%ba%ce%b5%cf%81%ce%b1%ce%af%ce%b5%cf%82/)

    How can i put the linked products in the bottom?

    #1220901

    Hello any update?

    #1221140

    Hi techielab,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend and try to replicate it on our end for testing.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1221171

    Hello,

    Account created!

    #1222175

    Hi techielab,

    Thanks for giving us admin access.
    Please use a child theme, so modifications made on functions.php isn’t lost during an update.
    I tried to check further but Theme Editor seems limited to view config-woocommerce > config.php and shows 403 Forbidden error.
    Can you give us ftp access as well?

    Best regards,
    Nikko

    #1222181

    Hello,

    thank you for your support! I don’t know how to use child theme, but for sure i will take a look at it!

    #1222811

    Hi techielab,

    For the child theme, you can download and find more information in our documentation: https://kriesi.at/documentation/enfold/child-theme/
    I have tried the FTP credentials using Filezilla (FTP software) and tried different settings and even FTP however it doesn’t work, please check.
    I also tried to install an FTP plugin and tried to make changes however it gives the 403 forbidden error.

    Best regards,
    Nikko

    #1224849

    Hello,
    can you let me know how i can disable the related products, when someone views a product page?
    I don’t want to show “Related Products”, Thank you!

    #1224873

    :-)

    #1224971

    Hi,

    I still can’t access via FTP :(
    As for Related Products, you can disable this by adding this code in your child theme’s functions.php:

    remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 20);

    Best regards,
    Nikko

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.