How do I change the size of the image-banner button (make it wider) - Dawn Theme

JustInCase-de
Excursionist
96 0 6

Hello,

I would like to make the button / switch area on the image-banner of the landing page  just a little bit wider.

I think it would look much more elegant if the button was a bit wider and want the text to adjust to it as well.

The changes should only apply to the image-banner button on the landing page.

Can somebody provide me with a corresponding code ?

I am using the Dawn theme and this is my store url: justincase-de.com

 

Kind regard.

 

Bildschirmfoto 2023-01-15 um 19.15.04.png

Replies 3 (3)

BSS-Commerce
Shopify Expert
3477 461 516

Hi @JustInCase-de 

Please follow these steps:

- Step 1: Access to your Shopify Admin > Theme > Edit Code:

view - 2023-01-17T135721.776.png

Step 2: Find any CSS file, which should be base.css or global.css.

view - 2023-01-17T135822.821.png

Step 3: Insert the following code at the bottom of the page and save. If it doesn't work, please try inserting it into another CSS file.

.banner__box .banner__buttons .button{
  padding: 2rem 5rem;
}

view - 2023-01-17T135913.870.png

view - 2023-01-17T135917.108.png

I hope that it will work for your site.

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

JustInCase-de
Excursionist
96 0 6

That worked!

Thank you very much and kind regards.

 

Sincerely, 

JustInCase

BSS-Commerce
Shopify Expert
3477 461 516

Hi @JustInCase-de 

 

We're happy to see that our suggestion helped you solve the issue. Can you kindly give us a like and mark it as a solution? This can be a reference for other merchants if they have an issue like you.

 

Thanks in advance.

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development