smoman Posted April 8, 2021 Share Posted April 8, 2021 Site URL: https://www.shannoncamillearts.com/ I have an issue I am hoping someone will understand and help me with. On mobile, when I go to shop and click a product category, the category navigation disappears. In order to see them again I have to select all in the breadcrumbs and start over. What I would like, for example, would be for a person to navigate from one category to another with the category navigation visible on all mobile shop pages, similar to how it is done on desktop. ANOTHER question I have, on mobile my logo looks very small. I want to make it look bigger without forcing a left/right scroll. The only way I can think of is having the hamburger icon and cart icon above or below the logo. Is this possible? Here is the current code I have in my site: /* 2 Column Product Grid */ @media only screen and (max-width:640px) { .products .list-grid { display: flex; flex-wrap: wrap; justify-content: space-between; } .products .grid-item { width: 48%; } } /*remove space above gallery mobile only*/ @media only screen and (max-width:767px) { .homepage #page section:first-child { min-height: unset; height: 80vh; } } Link to comment
tuanphan Posted April 12, 2021 Share Posted April 12, 2021 Q1. Try adding to Design > custom CSS /* Show category nav links */ @media screen and (max-width:767px) { div.nested-category-tree-wrapper { display: flex !important; float: none !important; min-width: 100% !important; max-width: 100% !important; margin-right: 0 !important; } section.products.collection-content-wrapper.products-list { flex-direction: column !important; display: flex; } .nested-category-tree-wrapper>ul { width: 100% !important; display: flex; justify-content: center; align-items: center; } .nested-category-tree-wrapper>ul li { margin-left: 2vw; } nav.nested-category-breadcrumb { display: none !important; } ul.nested-category-children { display: none !important; }} Q2. If make logo bigger, it will overlap burger & cart icon.The solution is make 2 row Row 1 is logo Row 2 is burger + cart icon What do you think? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
smoman Posted April 12, 2021 Author Share Posted April 12, 2021 @tuanphan that worked! Only it makes navigation look wonky. Not like how it looks when I am on the main shop page. Heres an example: On main shop page With code Is there any way to make it look like the navigation on the main shop page on all categories on mobile? In regards to question 2: Yes! I would love to see how that looks with row 1 being the burger icon and row 2 being the logo, and vise versa. Link to comment
tuanphan Posted April 14, 2021 Share Posted April 14, 2021 On 4/13/2021 at 12:03 AM, smoman said: @tuanphan that worked! Only it makes navigation look wonky. Not like how it looks when I am on the main shop page. Heres an example: On main shop page With code Is there any way to make it look like the navigation on the main shop page on all categories on mobile? In regards to question 2: Yes! I would love to see how that looks with row 1 being the burger icon and row 2 being the logo, and vise versa. Use new code /* Show category nav links */ @media screen and (max-width:767px) { div.nested-category-tree-wrapper { display: flex !important; float: none !important; min-width: 100% !important; max-width: 100% !important; margin-right: 0 !important; } section.products.collection-content-wrapper.products-list { flex-direction: column !important; display: flex; } .nested-category-tree-wrapper>ul {padding-top: 44px;padding-bottom: 30px;margin-bottom: 0;flex-wrap: nowrap;overflow-x: scroll;text-align: center;display: flex;flex-direction: row;align-content: center;position: relative;justify-content: start;} .nested-category-tree-wrapper>ul li { margin-left: 2vw; flex: 0 0 auto; } nav.nested-category-breadcrumb { display: none !important; } ul.nested-category-children { display: none !important; } .products.collection-content-wrapper .nested-category-tree-wrapper>ul>li:first-child a { padding-top: 5px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
smoman Posted April 15, 2021 Author Share Posted April 15, 2021 @tuanphan that did the trick! Thanks so much! Is there a way to have it show up on product pages as well? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment