What's your biggest current challenge? Have your say in Community Polls along the right column.

Change background color in sidebar on pop up menu

Solved

Change background color in sidebar on pop up menu

shamrockweb
Shopify Partner
15 0 2

How do I change the background of the secondary menu on the sidebar (when you click on Characters and the menu slides out on the right)? I'd like to make it slightly transparent. I'd also like the text font and size to be the same as the main menu. Thanks for any help!

 

https://mimihalinew.myshopify.com/

PW: mimihali2024

 

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9118 2178 2688

This is an accepted solution.

Hi @shamrockweb 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
html[dir=ltr] .sidebar-parent-element .sidebar-element {
    opacity: .5;
}

a.sub-menu__link-second.sub-menu__last-second {
    font-size: 16px;
}
</style>

 

  • And Save. 
  • Result:
    Made4uoRibe_0-1731011992693.png

     

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9118 2178 2688

This is an accepted solution.

Hi @shamrockweb 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
html[dir=ltr] .sidebar-parent-element .sidebar-element {
    opacity: .5;
}

a.sub-menu__link-second.sub-menu__last-second {
    font-size: 16px;
}
</style>

 

  • And Save. 
  • Result:
    Made4uoRibe_0-1731011992693.png

     

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

Made4uo-Ribe
Shopify Partner
9118 2178 2688

Would you mind hitting 'like' as well? Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.