Hey, newbie here. Just starting with the IT stuff like CSS, Javascript codes so if you can please help me in a detailed answer and instructions on how to fix this.
As you can see some products doesn’t have a dark blue box background when I hover on them. But the other products have it, how do i fix it please
https://drive.google.com/file/d/1mvnuG49rJbcX0-53Zpj4teSNLBCwQlHM/view?usp=drive_link
1 Like
Hi @rnzmracn
Would you mind to share your store URL? Thanks!
Hi @rnzmracn
Please put below css in theme.liquid before body closing tag
Please don’t forget to Like and Mark Solution to the post if it helped you.
Thanks!
Hey, I really appreciate this! This worked but if there’s a way to make the blue box the same width as the images and centered that would be awesome!!
Thanks for the info, just clarification. Do you want only to change the background or you like same font size and alignment?
This is for background and color.
- From you Admin page, go to Online Store > Themes
- Select the theme you want to edit
- Under the Asset folder, open the main.css(base.css, style.css or theme.css)
- Then place the code below at the very bottom of the file.
.bold-ro__recurring-title {
background-color: #13294b;
color: white;
padding-top: 5px;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @rnzmracn
Giving it 100% width will cover the whole card
Thanks!
1 Like
This is for the same design with the add to cart button. Same Instruction.
.bold-ro__recurring-title {
background-color: #13294b;
text-align: center;
letter-spacing: 1px;
text-transform: uppercase;
color: #fafafa;
font-size: 13px;
font-weight: 600;
font-style: normal;
}
And Save.
result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!