Re: Change the text background color

Solved

How to change text background color and corner radius?

winnado11
Shopify Partner
181 0 72

Hello, 

I need help with changing the background of "Try Berrybites" text + Making the corner radius of the background text to 40px

 

Website link: wowberrybites.com

 

Thank you

 

 

winnado11_0-1655277378443.png

 

Accepted Solutions (2)

MarinaPetrovic
Shopify Partner
559 124 192

This is an accepted solution.

If you'd like something like this:
Screenshot 2022-06-15 at 09.23.39.png

 

Go to edit code > assets > base.css and add this:

#Details-HeaderMenu-5{
    background-color: #ac3834;
    border-radius: 40px;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

MarinaPetrovic
Shopify Partner
559 124 192

This is an accepted solution.

@winnado11 

#Details-HeaderMenu-5 .header__menu-item span{
color:#FFFFFF!important;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 12 (12)

MarinaPetrovic
Shopify Partner
559 124 192

This is an accepted solution.

If you'd like something like this:
Screenshot 2022-06-15 at 09.23.39.png

 

Go to edit code > assets > base.css and add this:

#Details-HeaderMenu-5{
    background-color: #ac3834;
    border-radius: 40px;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
winnado11
Shopify Partner
181 0 72

Thank you. Do you know how to change the submenu text color to black by any chance?

 

winnado11_0-1655278443944.png

 

MarinaPetrovic
Shopify Partner
559 124 192

@winnado11 add this element in base.css:

#Details-HeaderMenu-5 .header__menu-item {
    color: #000000!important;
}

 

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
winnado11
Shopify Partner
181 0 72

@MarinaPetrovic Oh, that's code is actually for changing the color of "Try Berrybites" text. I want "Try Berrybites" text to be white color. What I wanted to change the text color is the subtext/submenu below it (which is "Berrybites Bundles & Build your Box). If you click the arrow, you will be able to see it. Please see the screenshot. 

 

winnado11_0-1655279077848.png

 

MarinaPetrovic
Shopify Partner
559 124 192

@winnado11  try this 🙂 

.list-menu__item {
    color: #000;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
winnado11
Shopify Partner
181 0 72

@MarinaPetrovic no it does not work. The submenu color changed to color, but now it made the "Try Berrybites" text color changed too. I want to keep the "Try Berrybites" text color white. 

 

winnado11_0-1655280144289.png

 

 

 

 

MarinaPetrovic
Shopify Partner
559 124 192

@winnado11 

#HeaderMenu-MenuList-5 a{
color:#000000!important;
}

#Details-HeaderMenu-5 .header__menu-item {
    color: #FFFFFF;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
winnado11
Shopify Partner
181 0 72

@MarinaPetrovic hello, the "Try Berrybites" text still did not change to white 😞 

 

winnado11_0-1655280785190.png

 

MarinaPetrovic
Shopify Partner
559 124 192

Have you removed this:

#Details-HeaderMenu-5 .header__menu-item {
    color: #000000!important;
}

If not, please remove.

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
winnado11
Shopify Partner
181 0 72

Yes @MarinaPetrovic , I removed. But the "Try Berrybites" text is still the same and has not yet been changed to #FFFFF2

 

MarinaPetrovic
Shopify Partner
559 124 192

This is an accepted solution.

@winnado11 

#Details-HeaderMenu-5 .header__menu-item span{
color:#FFFFFF!important;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
winnado11
Shopify Partner
181 0 72

@MarinaPetrovic thank you!