Shopify themes, liquid, logos, and UX
Hi, i need a help. for someone know thiss setting, What should I change or add to the CSS? and how to make the box on the right instead of the left
from this :
to this:
thanks
Solved! Go to the solution
This is an accepted solution.
Hi @megawdyaaaa
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>
.header-layout--right .site-nav--has-dropdown:nth-last-child(2) .site-nav__dropdown .site-nav__deep-dropdown {
right: auto;
left: 100%;
}
.header-layout--right .site-nav--has-dropdown:nth-last-child(2) .site-nav__dropdown {
right: unset !important;
}
Result:
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Sandeep Pangeni
This is an accepted solution.
@megawdyaaaa Please follow below steps to make the drop-down box on the right instead of the left. Let me know whether it is helpful for you.
.header-layout .header-item .site-nav .site-nav--has-dropdown .site-nav__dropdown .site-nav__deep-dropdown {
left: 100% !important;
right: unset !important;
}
.header-layout .header-item .site-nav .site-nav--has-dropdown .site-nav__dropdown {
right: unset !important;
}
This is an accepted solution.
Hi @megawdyaaaa
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>
.header-layout--right .site-nav--has-dropdown:nth-last-child(2) .site-nav__dropdown .site-nav__deep-dropdown {
right: auto;
left: 100%;
}
.header-layout--right .site-nav--has-dropdown:nth-last-child(2) .site-nav__dropdown {
right: unset !important;
}
Result:
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Sandeep Pangeni
This is an accepted solution.
@megawdyaaaa Please follow below steps to make the drop-down box on the right instead of the left. Let me know whether it is helpful for you.
.header-layout .header-item .site-nav .site-nav--has-dropdown .site-nav__dropdown .site-nav__deep-dropdown {
left: 100% !important;
right: unset !important;
}
.header-layout .header-item .site-nav .site-nav--has-dropdown .site-nav__dropdown {
right: unset !important;
}
omg big thanksss
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024