Home › Forums › Basel support forum › Category banner and Category menu alignment
Category banner and Category menu alignment
- This topic has 11 replies, 2 voices, and was last updated 7 years, 4 months ago by Artem Temos.
-
AuthorPosts
-
August 25, 2017 at 9:57 am #18054
italyanaParticipantHello,
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.August 25, 2017 at 10:11 am #18070
italyanaParticipantmore info
August 25, 2017 at 10:12 am #18071
italyanaParticipantShort code : html_block id=”3515″
August 25, 2017 at 11:26 am #18080
Artem TemosKeymasterHi,
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
August 25, 2017 at 11:52 am #18087
italyanaParticipantHi,
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
August 25, 2017 at 12:16 pm #18096
Artem TemosKeymasterYou 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
August 25, 2017 at 1:34 pm #18119
italyanaParticipantThanks, 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.
August 25, 2017 at 3:05 pm #18128
Artem TemosKeymasterCould you please provide a screenshot to this question also?
August 25, 2017 at 3:36 pm #18131
italyanaParticipantI attached the image with before and after
Attachments:
You must be logged in to view attached files.August 25, 2017 at 4:27 pm #18133
Artem TemosKeymasterOur theme doesn’t have such kind of layout. You can try our content full width option in Theme Settings -> General Layout.
August 25, 2017 at 6:00 pm #18136
italyanaParticipantI tested your content full with, and it’s perfect thanks
Regards
Andrea
August 26, 2017 at 7:46 am #18140
Artem TemosKeymasterGreat, you are welcome!
-
AuthorPosts
The topic ‘Category banner and Category menu alignment’ is closed to new replies.
- You must be logged in to create new topics. Login / Register