Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Greetings Shopify Community!
VIEW WEBSITE ON MOBILE OR INSPECT ELEMENT : https://redline2win.com/collections/phone-cases
Having an issue with my 2 filter "buttons" (See picture bellow)
I'm trying to make them the same width/text centered as the actual buttons above but i can't figure it out..
Been Googling a while and can't find a solution that works for me..
To anyone that could provide me with a solution, i'm greatly thankful!
Best regards!
Solved! Go to the solution
This is an accepted solution.
Hey, i tried your solution, this is the result i got on an iPhone 14 Pro (Pretty much the same on an iPhone 14 Pro Max
Hi @Fadel1
Kindly paste the below CSS at bottom in component-toolbar.css and the file you can find under assets
body .toolbar .toolbar-item .toolbar-icon.icon-filter {
display: inline-block;
width: 190px;
cursor: pointer;
padding: 5px;
background-color: #000;
text-align: center;
}
.toolbar .toolbar-dropdown.filter-sortby .label-tab.hidden-on-desktop {
width: 190px;
}
It'll look like below:
Thanks
Sheesh B
This is an accepted solution.
Hey, i tried your solution, this is the result i got on an iPhone 14 Pro (Pretty much the same on an iPhone 14 Pro Max
Hi @Fadel1
This is pretty sure that the width that is added in the code I provided needs to be changed. You can check by reducing the width to 160px.
Thanks