ResolvedIs it possible to adjust page layout/structure for generated pages?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23176
    Pablo
    Participant

    I have created a menu item to be able to select products by the product attribute pa_brand.

    add_filter(‘woocommerce_attribute_show_in_nav_menus’, ‘wc_reg_for_menus’, 1, 2);

    function wc_reg_for_menus( $register, $name = ” ) {
    if ( $name == ‘pa_brand’ ) $register = true;
    return $register;

    }

    Is it possible to configure the generated page to have a background image and to configure the layout type for the Header as I can individually for Categories or Standard pages?

    All I can see in the Theme Options is to change the Header Background under the Header Area but this does not enable to see the full image between div id = “header” and div id =”rigid_page_title”. Also, you cannot change the header style (standard, overlay, transparent).

    Kind regards,

    #23177
    Pablo
    Participant
    This reply has been marked as private.
    #23202
    Althemist
    Keymaster

    Hi zuyo,

    No, I am afraid those pages can’t be edited. They are using the default product archive template of WooCommerce.

    However, you don’t really need to use custom code in order to show the link in the menu. You just need to enable the archive pages for the attribute.

    We will discuss with the team if it’s possible to make the same header and title settings for the attributes as we have for categories and tags. If possible, we will include it in the next theme update.

    Regards,
    Dimitar

    #23216
    Pablo
    Participant

    Hi Dimitar,

    I realised now from checking the demo menu that you just need to put in the URL of the brand. Thank you for pointing that out.

    It would be good if you could make the same header and title settings for attributes so the pages can be consistent.

    Kind regards,

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register