Hey guys! I’m having some issues with the shrine theme, this mobile version I’m wanting to move my button into the banner so it looks a bit more tidy, curve the edges and make a bit more skinnier, how would I do this? and also how can I ad a closing effect on the button if I wanted to ?
any help would be appreciated, thank you.
its sorted the placement out, but i need it to go lower and change the transparency of the background, maybe make it longer
Hi @ShaneoDunco
Could you share your store URL so I can check?
https://gymalphas.com/ the mobile is too far up
Hi @ShaneoDunco
Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings.
@media (max-width: 749px) {
.banner__box { padding-top: 12rem !important; }
}
thank you so much! how can I move it down a bit more towards the bottom and change sizing?
Please update the code
@media (max-width: 749px) {
.banner__box { padding-top: 12rem !important; padding-bottom: 0 !important; }
.banner__box .button { padding: 15px 40px !important; }
}
also how can i make my top banner a different colour without changing theme backgrounds? so its separate
change the top welcome banner colour separately
Please add this code, replace “#your-hex-color-code;” with your own color code.
.announcement-bar { background: #your-hex-color-code; }
where do I add sorry in edit code?
Custom CSS section where you added above code.
Got it! thank so much, can I keep adding custom codes to this section without slowing my store too much?
Shopify has a limit on how much CSS code can be added, but you can still add custom code until they allow more. Also, a few line of CSS code wont affect to speed of your store.