Hi
I need to be able to position my button on the hero image so that it does not overlap the text on the image. Have used this code to fix the position on the desktop version:
.banner__buttons {
position: relative;
top: 55px;
}
However on mobile it is an issue as it overlaps the code etc text.
Need help to customise code for mobile to:
move button higher to custom space
reduce button font
Reduce button size to mirror font size
change colour of button from white to the brand green #12576e
change font colour to the brand gold #CBB26A
I tried to use the following code in the base.css file for mobile but it did not work and I cannot find the style.scss file on the Dawn 2.0 theme.
@oscprofessional my store URL is https://rubyxx.myshopify.com/ but currently I have the button on the hero image disabled as most of my customers use mobile devices and as in the screenshot, thats not pretty
@LitExtension you’re a genius!
I am almost there - but need 2 more things to fix in this.
The mobile view button is placed correctly but still has a lot of padding? How can i make it narrower - both horizontally and vertically? Refer to screenshot.
The colours for the desktop view remain white, how can i make it mirror the new mobile view button?
Hi @LitExtension , I deleted the previous code you shared and replaced by this one, but it unfortunately it made the buttons white again on both desktop and mobile. Also the mobile button is also now covering the text, as before.
I also tried adding this code after deleting the earlier code I had inserted for button position on desktop - but it stayed the same