Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1398477

    Hey Gunter,

    We are having some problems with the shop archive pages when we set under the product category “Fullwidth page banner” From the “Category Styling” dropdown.

    Our issues are:
    – Bread crumbs show on the bottom of image which is different to the rest of the site which displays it at the bottom of the header. We need to get the breadcrumbs up above the image.
    – The image it produces is a parallax image with no source set which displays terribly on most devices. We need it to be a regular image that can use srcset and that we can set a size for.
    – The text is put on top of the image rather than on the page like default archive pages. We need the text to be below the image, like with the default category layout.

    So is there an easy way we can customise this?

    We can see most the code is in the enfold config-woocommerce/config.php file but it seems like a complicated set of functions that all work together rather than just a template file that can be edited. Should we edit this page?

    Can this config.php file be placed in the child theme and customised?

    Or are there hooks we can de-register/register to get it how we want it to look?

    Really appreciate your help

    Tim

    #1398645

    Hey Tim,

    I’ve uploaded a pdf with a screenshot how I see your link.

    Images have scrset and sizes.
    I’m a bit confused.

    If you want to make changes to config-woocommerce/config.php file you should stick to hooks and filters or define the functions you want to modify before our config file is loaded.
    Most of the functions are wraped in

    
    if( ! function_exists( 'xxxx' ) )
    {
    ......
    }
    

    To modify the complete file is not recommended as it might change at any time, when we find a bug or extend WC support.

    Best regards,
    Günter

    #1398648

    Hey Gunter,

    I get a 403 Forbidden when trying to download the PDF.

    Please see private field.

    Thanks

    • This reply was modified 1 year, 1 month ago by THP Studio.
    #1398797

    Hi,

    Thanks for clarify. I did not check that it is the shop banner.

    For the layout of the banner check function avia_woocommerce_parallax_banner in the config file.

    And/or action ava_after_main_container and the 2 handlers
    avia_woocommerce_big_cat_banner
    avia_woocommerce_shop_banner

    Breadcrumb:

    You probably will need to modify:

    action woocommerce_before_main_content – handler avia_woocommerce_before_main_content

    and create your own breadcrumbs using action ava_after_main_container before shop banner
    using function avia_title()

    I hope this helps you.

    Best regards,
    Günter

    #1424191

    Hi Gunter,

    Circling back to this one, sorry for the long delay on it. We’ve tried to make this work ourselves, but really feel that improving this in core Enfold would be the better option if at all possible.

    Most ecommerce stores now have a banner image on their category pages, and while Enfold has this ability I really hope it could be improved. My suggestion is the following…

    1. Leave the current functionality in place for sites that already have it so as not to break anything
    2. Provide an option in the Enfold Shop settings to toggle the existing parallax effect on or off
    3. Provide an option in the Enfold Shop settings to toggle the ability to have text over the image on or off. If this is set to off, the image should no longer be loaded as a background image, but rather a normal image with full srcset abilities to improve performance, and the ability to select an image size from the usual drop down list of registered image sizes. Also, if this option is set to off, the text is output below the image on the page as normal.
    4. Provide an option in the Enfold Shop settings to change the position of where this image is displayed on the front end. Currently it displays above the breadcrumb bar, but this is unusual functionality as any page built with the ALB will always put content below the breadcrumb bar. So an option to place the image below the breadcrumb bar (but still full width) would be perfect.

    These settings would need to affect not just the single Shop banner image, but also the category banner images as well (that are added via editing the categories themselves).

    I hope that makes sense Gunter, thanks as always for considering improvements

    Kind regards

    Tim

    • This reply was modified 5 months ago by THP Studio.
    • This reply was modified 5 months ago by THP Studio.
    • This reply was modified 5 months ago by THP Studio.
    #1425123

    Hi Tim,

    Sorry for the late reply.

    Thank you for your suggestions. We appreciate your inspirations.

    I added it to our feature request repo (https://github.com/KriesiMedia/Enfold-Feature-Requests/issues/80), so I do not forget it.

    But I cannot give an ETA for it at the moment.

    Best regards,
    Günter

    #1425710

    Hi Gunter,

    Thanks for adding it to the to-do list.

    Really hope it can be one of the more urgent things so we can make our shop fronts look and perform really nicely.

    Thanks for all your work.

    Regards

    Tim.

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