Can i remove the background of the running text at the top of my theme?I am using motion as a theme

Can i remove the background of the running text at the top of my theme?I am using motion as a theme

this is the code i use ti make it move:

#HeaderWrapper {
max-width: 100% !important;
overflow: hidden !important;
}

.announcement {
white-space: nowrap !important;
overflow: hidden !important;
display: inline-block !important;
animation: marquee 10s linear infinite !important;
}

.announcement span {
display: inline-block !important;
}

@keyframes announcement {
0% {
transform: translate3d(0, 0, 0);
}
100% {
transform: translate3d(-50%, 0, 0);
}
}

1 Like

Hey @Monkatauua

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @Monkatauua ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Hope this can help you :heart_eyes:

Hi @Monkatauua

check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. Then place the code below at the very bottom of the file.
.announcement {
    background: transparent;
}
  • Here is the solution for you
  • Please follow these steps:

  • Then find the base.css file.
  • Then add the following code at the end of the file and press ‘Save’ to save it.
.announcement {
     background: none !important;
}
  • Here is the result you will achieve:

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.