Skip to main content

How to set up custom CSS for the Currency converter?

Learn how to add your own custom CSS to Currency converter.

Rashmi Verma avatar
Written by Rashmi Verma
Updated over 3 weeks ago

✅ Step 1: Open the Currency converter.

1️⃣ Go to Shopify AdminAppsHoppy Currency converter app.

2️⃣ Navigate to the Design tab and scroll down to locate the Custom CSS box.

✅ Step 2: To Create the Boilerplate (Base Structure)

3️⃣ Start by targeting the Shopify Currency converter with the following selector:

.futureblink-currency-converter {
/* This is the main email collection */
}

✅ Step 3: To Add Background Styling

4️⃣ Set a background color for the Currency converter.

.futureblink-currency-converter {
background: Purple;
}

  • You can replace Purple with any color based on user preferences.

✅ Step 4: To Customize Font, Size & Text Color

5️⃣ To ensure the text looks clean and readable, apply the following styles:

.futureblink-currency-converter .title {
color: white;
font-size: 16px;
font-family: 'Arial', sans-serif;
font-weight: bold;
text-align: center;
}

  • Modify the color, font-size, and font-family values to match your brand.

  • For the paragraph text inside the Currency converter:

    .futureblink-currency-converter p {
    color: whitesmoke;
    }

  • For links inside the Currency converter :

    .futureblink-currency-converter a {
    color: Yellow;
    text-decoration: none;
    }

✅ Step 5: To Style the Call-to-Action (CTA) Button

6️⃣ If the Currency converter includes a CTA button, style it properly:

.futureblink-currency-converter .cta-button {
background: green;
color: yellow;
font-size: 14px;
font-weight: bold;
border: none;
padding: 8px 15px;
border-radius: 4px;
cursor: pointer;
display: inline-block;
}

✅ Step 6: To Style the Close Button

7️⃣ If the Currency converter has a close button, apply the following style:

.futureblink-currency-converter .close-btn {
color: yellow;
cursor: pointer;
}

✅ Step 7: To Style Navigation Arrows

8️⃣ If the Currency converter has navigation arrows, use these styles:

.futureblink-currency-converter .arrow {
color: orange;
}
.futureblink-currency-converterr .button-prev {
background: white;
}
.futureblink-currency-converter .button-next {
background: black;
}

✅ Step 8: To Apply Complete Custom CSS

.futureblink-currency-converter {
background: linear-gradient(green,aqua);
}
.futureblink-currency-converter .title {
color: white;
background: transparent;
}
.futureblink-currency-converter .subheading{
color: white;
background: transparent;
}
.futureblink-currency-converter .cta-button{
background: black;
color: white;
}
.futureblink-currency-converter .close-btn{
color: black;
}
.futureblink-currency-converter .arrow{
color: white;
}
.futureblink-currency-converter .button-prev{
background: black;
}
.futureblink-currency-converter .button-next{
background :black;
}

✅ Step 9: Save & Publish

9️⃣ Click Apply and then Save to confirm your changes.

🔟 Refresh your store to check how it looks!

🎉 That’s it! Your Currency Converter now has a custom style to match your brand! 🚀


Did this answer your question?