Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • #171052

    Can’t seem to find anyway to remove these items from the pages:
    On product details – get rid of the addition information box
    On product details – get rid of related products (I did not associate anything in product details to link them together)
    On product details – Here is the problem – I started setting up the website in Flashlight and when the images displayed in product details, both horizontal and vertical images showed up fully and correct. In Enfold, all my images are getting cropped into a square. I have adjusted size in settings>catalog>image option and removed hard crop, and added size amount. Added rregenerate thumbnails. But images are cropped and squared. I don’t get why it happens and how to change it.
    On Shop page: I want to remove the sort by and display by dropdowns from showing. How do I do that?

    Sorry, I would search the forum but it does not allow you to search for instance by i.e. “product detail images” for enfold only – it shows ALL theme answers. There can be way too many answers that don;t apply since they are from other themes.

    #171222

    Hey lpfa!

    Please add following code Quick CSS to remove the sections you mentioned

    .product-sorting, .product .woocommerce-tabs, .related.products { display: none; }

    And can you post the link to your website?

    Cheers!
    Yigit

    #171328
    This reply has been marked as private.
    #171565

    Hey!

    You should add these css codes into Quick CSS that is in Enfold theme options under Styling tab, or into Custom.css file which is inside Enfold CSS folder.
    We are going to need to see your website live. But in the meantime you can check your thumbnail and featured image sizes, and change values in Functions.php file http://i.imgur.com/LFdXdPD.jpg
    Please note that you need to remove all images then upload them again or changes will not be effective

    Cheers!
    Yigit

    #171805
    This reply has been marked as private.
    #171809

    Hi!

    If you would like to share screenshots, please upload them on http://imgur.com/ and share links here
    You can try adding !important to the same code to force it

    .product-sorting, .product .woocommerce-tabs, .related.products { display: none!important; }

    Then flush your browsers cache and refresh your page a few times. It worked well on my end

    Regards,
    Yigit

    #171822

    That worked thanks. If I still want description to show up?

    #171825

    Hello!

    You are welcome. If you would like to partially display, you can add following codes to Quick CSS. I commented them

    .woocommerce-tabs { display: block!important; }  /* Description Tabs */ 
    .product-sorting { display: block!important; }  /* Product Sorting */
    .related.products { display: block!important; }  /* Related Products */

    Cheers!
    Yigit

    #171841

    Ok – here is a link to the page as it now looks: http://imgur.com/oNK0cQz
    So I added this as suggested: .woocommerce-tabs { display: block!important; } /* Description Tabs */
    Nothing changed although i had refreshed the browser. What I want to do is just put info in edit product and have it show below the image, Also, is there a way to make the box for the buying options smaller? Sorry I am not a coder but follow directions pretty good. Lastly, as mentioned earlier, you can see the image is boxed even though it is a horizontal image. I am still not clear on how to make it scale correctly ass a horizontal image so it is not cropped.

    Thanks for all your help – I hope to get through this and a couple other issues and get finished – love the theme!!

    #171881

    But in the meantime you can check your thumbnail and featured image sizes, and change values in Functions.php file http://i.imgur.com/LFdXdPD.jpg

    Which of these lines in the php file is the featured image on product detail page in commerce?

    #171964

    Hello!

    Can you post the link to your website?

    Regards,
    Yigit

    #171966
    This reply has been marked as private.
    #171972

    Hi!

    Sure! Waiting to hear from you

    Cheers!
    Yigit

    #172008
    This reply has been marked as private.
    #172012

    Hello!

    Please add following code to Quick CSS as well

    #top .variations td.label { width: auto; }

    Best regards,
    Yigit

    #172734
    This reply has been marked as private.
    #172847

    Hi!

    Try to upload a large image as product thumbnail. You’re uploading an image with 350x350px in size. WP doesn’t have the chance to crop it. You can edit the single product thumbnail size on config-woocommerce > config.php, find this code:

    $avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>999, 'crop' => false);

    Regenerate the thumbnail using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Ismael

    #172852
    This reply has been marked as private.
    #172853
    This reply has been marked as private.
    #173802
    This reply has been marked as private.
    #173957

    Hey!

    Edit config-woocommerce > config.php, find this code starting on line 888:

    #
    # 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";
    	get_sidebar();
    	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_div', 3);
    function avia_add_summary_div()
    {
    	echo "<div class='eight units single-product-summary'>";
    }

    Replace it with:

    #
    # 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='five units single-product-main-image alpha'>";
    }
    
    function avia_close_image_div()
    {
    	global $avia_config;
    	$avia_config['currently_viewing'] = "shop_single";
    	get_sidebar();
    	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_div', 3);
    function avia_add_summary_div()
    {
    	echo "<div class='seven units single-product-summary'>";
    }

    This will make the product image container bigger.

    Best regards,
    Ismael

    #173958

    Hey!

    Edit the single product thumbnail size on config-woocommerce > config.php, find this code:

    $avia_config[‘imgSize’][‘shop_single’] = array(‘width’=>450, ‘height’=>999, ‘crop’ => false);

    Replace it with:

    $avia_config[‘imgSize’][‘shop_single’] = array(‘width’=>650, ‘height’=>900, ‘crop’ => false);

    Regenerate the thumbnail using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #174458
    This reply has been marked as private.
    #174953

    Hey!

    The product images will inherit the size of the container. Even if you upload a large image, the css will resize it to fit the container.

    Regards,
    Ismael

    #175253
    This reply has been marked as private.
    #176503

    Hello!

    Not crop, just re-size. So if you set it to 900 by 900 then the longest edge on either side will be 900px and the other edge will be proportional to that.

    Best regards,
    Devin

    #178641

    Ok – finally getting to this! I looked thru files in FTP and cannot find config-woocommerce>config.php. The only file I find is wp-config.php. Can you direct me to the proper directory where the file is located – thanks!

    #178775

    Hey!

    In your WordPress theme directory you should go to wp-content\themes\enfold\config-woocommerce folder and config.php is inside that folder

    Regards,
    Yigit

    #179923

    Edited config.php at line 898 – got this error:
    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/lindapir/public_html/grossdyg52/wp-content/themes/enfold/config-woocommerce/config.php on line 903

    Also, I did not do this edit yet: do I need to edit the single product thumbnail size in config.php if I have not imported all my images yet?

    Thanks – by the way, check out my opening sliders at http://75.103.91.29/grossdyg52/ – I love this theme!!

Viewing 29 posts - 1 through 29 (of 29 total)

The topic ‘How to get rid of some things’ is closed to new replies.