Home Forums Basel support forum Category banner and Category menu alignment

Category banner and Category menu alignment

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #18054

    italyana
    Participant

    Hello,

    I have two issues with category page.

    I added an HTML block into the description of the category to make appear a Full-width banner, I set the full size for the banner image 1920×900 and set the row full width without a gap, but when I check the category page it remains small.

    Plus I added in the category page a left side bar, but the problem is that the menu side bar goes up on the Banner menu.

    So what I need is to have a full-width banner and the left menu category goes aligned with the breadcrumb to better understand.

    In attached you can see the problem and how I would like to be

    Thanks for your help

    Regards

    Andrea

    Attachments:
    You must be logged in to view attached files.
    #18070

    italyana
    Participant

    more info

    #18071

    italyana
    Participant

    Short code : html_block id=”3515″

    #18080

    Artem Temos
    Keymaster

    Hi,

    We see that your image has a CSS class “alignnone” that limits it’s width with CSS rules https://gyazo.com/3a731d976f44cb930b65045731b87ec4
    Try to change this image alignment or remove that CSS code.
    Also, this row will overlap the sidebar because it is located in the HTML div with products and is not related to the sidebar.

    Regards

    #18087

    italyana
    Participant

    Hi,

    I’ve changed the alignment for the category banner and now is perfect.

    How can fix the problem with the sidebar and show the category left menu aligned with the products and not over the Category banner added with the HTML block?

    What do you suggest me to have a banner for each product category and on the left the category sidebar like the picture that I sent to you?

    Thanks for your support

    Andrea

    #18096

    Artem Temos
    Keymaster

    You may need to customize HTML structure of the shop page. Try to move the code

    <?php do_action( 'woocommerce_archive_description' ); ?>

    before this code

    <?php
    		/**
    		 * woocommerce_before_main_content hook
    		 *
    		 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
    		 * @hooked woocommerce_breadcrumb - 20 
    		 */
    		do_action( 'woocommerce_before_main_content' );
    	?>

    in the file basel/woocommerce/archieve-products.php.

    Regards

    #18119

    italyana
    Participant

    Thanks, it’s working like a charm!

    Last question, how I can make the product page full width like the banner because when I add the left category menù, it takes space but indented in the page and it does not remain on the extreme left of the page.

    #18128

    Artem Temos
    Keymaster

    Could you please provide a screenshot to this question also?

    #18131

    italyana
    Participant

    I attached the image with before and after

    Attachments:
    You must be logged in to view attached files.
    #18133

    Artem Temos
    Keymaster

    Our theme doesn’t have such kind of layout. You can try our content full width option in Theme Settings -> General Layout.

    #18136

    italyana
    Participant

    I tested your content full with, and it’s perfect thanks

    Regards

    Andrea

    #18140

    Artem Temos
    Keymaster

    Great, you are welcome!

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

The topic ‘Category banner and Category menu alignment’ is closed to new replies.