I am using the Horizon theme and created a drop down menu. But it does not have an arrow icon as I expected, like the picture shown below.
Reference:
Mine:
What should I do?
My store address:https://www.ojeffy.com/
password:gewpra
I am using the Horizon theme and created a drop down menu. But it does not have an arrow icon as I expected, like the picture shown below.
Reference:
Mine:
What should I do?
My store address:https://www.ojeffy.com/
password:gewpra
Hey @Leo_Bryan
I don’t recommend using this, because without the backend access it can’t be done professionally but for now you can use this code. It does the job.
Follow these Steps:
<style>
@media screen and (min-width: 768px) {
.menu-list__list-item:not([slot=overflow]):has(a.menu-list__link[aria-haspopup="true"]):after {
content: "˅";
bottom: 59% !important;
position: relative;
left: 5% !important;
text-align-last: end !important;
}
}
</style>
RESULT:
Best,
Moeed
Hi @Leo_Bryan,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
[aria-haspopup='true'].menu-list__link {
position: relative;
display: inline-flex;
align-items: center;
flex-direction: row;
}
[aria-haspopup='true'].menu-list__link::after {
content: '';
width: 5px;
height: 5px;
border-right: 1.5px solid currentColor;
border-bottom: 1.5px solid currentColor;
transform: rotate(45deg) translateY(-1px);
transition: transform 0.2s ease;
display: block;
top: 0;
position: relative;
}
[aria-expanded='true'][aria-haspopup='true'].menu-list__link::after {
transform: rotate(-135deg) translateY(-1px);
}
Hi Moeed,
Your approach perfectly solved my problem! Thank you for your time and patience.
Best
Hi namphan,
Your approach perfectly solved my problem! Thank you for your time and patience.
Best
Hi @Leo_Bryan,
It’s my pleasure ![]()
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.