Liquid, JavaScript, themes, sales channels
Hi -
I'm trying to control the text size and placement for my image with overlay text. Site is here: https://par6golfco.com/
I believe the code for the font should look something like this (placed in styles.css) but I'm very likely wrong. Code for moving it down on mobile only I'm not sure about. Any help is very appreciated!
@mediascreen and (max-width: 640){
div.overlay-text__subheading subheading subheading--over {font-size: 10px;
}
}
@mediascreen and (max-width: 640){
h2.overlay-text__title.h1-style {font-size: 14px;
}
}
Could anyone take a look and confirm?
Thanks a bunch!
Solved! Go to the solution
This is an accepted solution.
hello @par6golfco
please Go to Online Store->Theme->Edit code then go to assets/style.css ->paste below code at the bottom of the file.
@media (max-width: 768px){
#shopify-section-1626796601dd3283ce .overlay-text__inner{
margin-top: 500px!important;
}
}
I was able to solve the font sizing adjustment - now I just need to know how to push the font down a bit.
This is an accepted solution.
hello @par6golfco
please Go to Online Store->Theme->Edit code then go to assets/style.css ->paste below code at the bottom of the file.
@media (max-width: 768px){
#shopify-section-1626796601dd3283ce .overlay-text__inner{
margin-top: 500px!important;
}
}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024