Hello, I am trying to increase the size of the image but it’s not working. I tried adding this code to theme.liquid but it didn’t work. Can anyone help me please?
.feature-row__item .h1 {
font-size: 34px;
}
.feature-row__text .rte p {
margin-bottom: 0;
font-size: 15px;
}
Website: Mokaipaws.com
Hi @apalacio ,
You can follow the instruction below:
- Go to Online Store->Theme->Edit code
- Asset->/theme.css->paste below code at the bottom of the file:
@media (min-width: 1024px) {
.image-with-text__content-wrapper .heading {
font-size: 34px !important;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Thanks for replying, unfortunately that did not work.
HI @apalacio ,
Maybe I don’t understand what you mean. Do you want to increase the font size for this text:
“MOUTH-WATERING CHEWS WITH PROVEN HEALTH BENEFITS”
Please add below css in bottom of assets/theme.css file
@media screen and (min-width: 1000px)
.image-with-text__image-wrapper {
width: 50%;
}
Thank you.
Thanks but it didn’t work. This is how my image looks right now:
And this is how I want it to look:
Website: Mokai
Hi @apalacio ,
You can try below code in top of theme.css file:
@media (min-width: 1024px) {
.image-with-text__image-wrapper {
width: 55% !important;
}
}
Thank you, that worked!
Is there any way to align the text so that it’s vertically aligned with the image? And to remove the margin from the top?
Thanks again!
This also worked for me - brilliant. Thanks so much