Jump to content

Can the category text be center aligned?

Recommended Posts

Can the category text be center aligned. It seems to be right aligned. 'm having a hard time finding the code for this. 

I'm using this code above.

 

/* Show category nav links */
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: baseline;
    color: black
    
}
.nested-category-tree-wrapper>ul li {
    margin-left: 3vw;
}
nav.nested-category-breadcrumb {
    display: none !important;
}
ul.nested-category-children {
    display: none !important;

}
Link to comment
  • Replies 1
  • Views 422
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 4/26/2024 at 1:40 AM, averson said:

Can the category text be center aligned. It seems to be right aligned. 'm having a hard time finding the code for this. 

I'm using this code above.

 

/* Show category nav links */
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: baseline;
    color: black
    
}
.nested-category-tree-wrapper>ul li {
    margin-left: 3vw;
}
nav.nested-category-breadcrumb {
    display: none !important;
}
ul.nested-category-children {
    display: none !important;

}

You can share link to page where you have problem, we can check code easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.