Shopify themes, liquid, logos, and UX
Im trying to customize the scroll thing from white to black, is there anyway to do that?
Solved! Go to the solution
This is an accepted solution.
Hey @BioDraft,
I hope you're doing well!
1. From your Shopify Admin go to online store > themes > three dots > edit code
2. In your theme.liquid file, find the </body> (press CTRL + F or command + F on Mac)
3. paste this code right above the </body> tag:
<li-code lang="markup"><style>
body::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #3f3e3e;
}
body::-webkit-scrollbar
{
width: 14px;
background-color: #686868;
}
body::-webkit-scrollbar-thumb
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #686868;
}
</style>
If it helps you please click on the "like" button and mark this answer as a solution.
Thank you.
Kind regards,
Diego
This is an accepted solution.
Hey @BioDraft,
I hope you're doing well!
1. From your Shopify Admin go to online store > themes > three dots > edit code
2. In your theme.liquid file, find the </body> (press CTRL + F or command + F on Mac)
3. paste this code right above the </body> tag:
<li-code lang="markup"><style>
body::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #3f3e3e;
}
body::-webkit-scrollbar
{
width: 14px;
background-color: #686868;
}
body::-webkit-scrollbar-thumb
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #686868;
}
</style>
If it helps you please click on the "like" button and mark this answer as a solution.
Thank you.
Kind regards,
Diego
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024