Make button smaller/change color on section page

Solved

Make button smaller/change color on section page

Markbsh
Tourist
9 0 3

Hi there,

I need some urgent help with customizing a section page I purchased for the Section app.

Specifically, I’d like to:

  1. Change the button typography to 'Jost', which I’m currently using for my store.

  2. Set the button’s main background color to #f5f5f5 and the text color to #1114AE.

  3. On hover, I’d like the button background to switch to #1114AE and the text color to #ffffff.

  4. Lastly, I’d like to make the button slightly smaller in size.

Thanks in advance for your support!

 

Website url: https://andresatelier.dk/

Kode is: aapre

 

Best regards,
Mark

Accepted Solution (1)

Shadab_dev
Shopify Partner
1443 74 161

This is an accepted solution.

It is coded all right with just a few simple mistake.

Shadab_dev_0-1745955045648.png

You see how there is a warning sign, all it needs is a #before the color code so instead of f5f5f5 it should be #f5f5f5.

 

You can change these yourself in the code of that section you downloaded.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.

View solution in original post

Replies 6 (6)

Shadab_dev
Shopify Partner
1443 74 161

This is an accepted solution.

It is coded all right with just a few simple mistake.

Shadab_dev_0-1745955045648.png

You see how there is a warning sign, all it needs is a #before the color code so instead of f5f5f5 it should be #f5f5f5.

 

You can change these yourself in the code of that section you downloaded.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
Markbsh
Tourist
9 0 3

Just did it and it worked. But how do I change the font and make the button smaller

Shadab_dev
Shopify Partner
1443 74 161

For making the button smaller you can decrease the font size of it like this inside the same css block

 

font-size: whetever-number px;

 

For font you can do this

 

font-family: your-font-name, 'fallback-font';

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.

Made4uo-Ribe
Shopify Partner
10203 2423 3069

Hi @Markbsh 

Do you mean this button?

Made4uoRibe_0-1745955218598.png

 

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.
Markbsh
Tourist
9 0 3

Yes 

Made4uo-Ribe
Shopify Partner
10203 2423 3069

Thanks for the info. To change the text on the button, you need to locate the button in here:

Made4uoRibe_0-1745956901443.png

To change the background/color check the code below. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:
.ab-banner-button-wrapper-template--22387209929036__ss_video_banner_KgF4kg a {
    background: #f5f5f5;
    color: #1114AE;
    padding: 13px 25px !important;
}
.ab-banner-button-wrapper-template--22387209929036__ss_video_banner_KgF4kg a:hover {
    background: #1114AE;
    color: #ffffff;
}

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

  • And Save.
  • Result:
  • Made4uoRibe_1-1745957042776.png

     

 

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.