Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!

How can I improve the design and size of my website banner buttons?

How can I improve the design and size of my website banner buttons?

Tanel
Excursionist
33 0 5

Hi,

 

please look my website www.tanelwardrobe.com 
I would like to have my banner buttons looks both same design, outstanding and a bit bigger

 

Thanks.

Replies 7 (7)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

Hi @Tanel 

Do you mean the banner button?It looks same design.

Made4uoRibe_0-1701125213601.png

Can you explain further what design you like to get? Thanks!

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Tanel
Excursionist
33 0 5

 Yes i figured how to make them same. Now i would add them some designe, they look more outstanding. Also text top of buttons make vizually better.

Made4uo-Ribe
Shopify Partner
10211 2427 3081

Oh ,Okay. check this one.

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

a.button.button--secondary:before, a.button.button--secondary:after {
    border-radius: 20px;
}
a.button.button--secondary {
    border-radius: 20px;
    font-weight: 900;
}
a.button.button--secondary:hover {
    background: linear-gradient(to right, white, black);
    animation: shake 0.5s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%, 75% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
}
#Banner-template--21352671052117__image_banner > div.banner__content.banner__content--middle-center.page-width.scroll-trigger.animate--slide-in > div > div.banner__buttons.banner__buttons--multiple > a:nth-child(2):hover {
    background: linear-gradient(to right, black, white);
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1701196727468.png
  • I add some animation, hope you like it. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

theycallmemakka
Shopify Partner
1813 439 473

Hi @Tanel ,

 

To make the buttons more attractive, please add below CSS.

<style>
#Banner-template--21352671052117__image_banner a.button.button--secondary {
    border-radius: 25px;
    border: 2px solid #fff;
    font-size: 17px;
    font-weight: bold;
    border-radius: 25px;
    min-width: 22rem;
}
#Banner-template--21352671052117__image_banner a.button.button--secondary::before{
  background: #df1b08;
  opacity: 0.9;
  border-radius: 25px;
}
#Banner-template--21352671052117__image_banner a.button.button--secondary::before ,
#Banner-template--21352671052117__image_banner a.button.button--secondary::after,
#Banner-template--21352671052117__image_banner a.button.button--secondary:hover::after,
#Banner-template--21352671052117__image_banner a.button.button--secondary:hover::before{
    box-shadow:none!important;
}



@media screen and (min-width: 750px){
  #Banner-template--21352671052117__image_banner a.button.button--secondary {
       min-height: calc(5.3rem + var(--buttons-border-width) * 2);
    }  
}

</style>

 

 

makkaomakka_0-1701187493314.png

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Tanel
Excursionist
33 0 5

looking very nice at desktop version. Mobile is still buttons same. Please help.

Tanel
Excursionist
33 0 5

Need still help, please.

BSS-Commerce
Shopify Partner
3478 465 560

Hi @Tanel ,

You can change the font size, font styles, and text borders according to your preference.

Here is an example:

.banner__text.rte.subtitle strong {
    font-size: 2.2em;
    text-shadow: 10px 10px 25px rgb(155 155 155), -10px 10px 25px rgb(155 155 155), -10px -10px 25px rgb(155 155 155), 10px -10px 25px rgb(155 155 155);
}
.banner__buttons.banner__buttons--multiple a {
    font-weight: bold;
}

view - 2023-11-29T093329.493.png Hope it helps @Tanel 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency