Hi, I am trying to add more padding to buttons on my store to give the font a bit more breathing room, I have tried targeting different classes but nothing seems to work. Can anyone offer any suggestions about what to add? TIA
Login details
URL: https://www.fiveosix.com.au/
Password: asdfg
1 Like
Please place this code at the end of theme.scss
.homepage-promo .caption-content {
left: 50%;
transform: translate(-50%, 12%);
}
Let me know after changes, Do you wanted this. And if not then please explain more with screenshots
2 Likes
Hi @Hardik29418
thanks for your suggestion I put it in my stylesheet.css as my theme doesn’t have the other file. Nothing seems to have changed
Their code didnt work for me either, give this a try (I initially posted this with a margin, please omit that):
.homepage-promo .promo-inner .cta a {
padding: 10px 20px;
height: auto;
}
Just adjust padding as you see fit. It was getting a defined height before so I set it to auto to allow for the padding.
2 Likes
@Ninthony thanks so much that worked perfectly!
1 Like
No problem, glad it helped.