Changing color and position to CJdropshipping design button (TASTE Theme)

Topic summary

A user seeks help changing the position and color of a CJdropshipping design button on their TASTE theme Shopify store.

Three solutions were provided:

  1. JavaScript approach: Add custom code to theme.liquid file, placing it above the </body> tag to modify button styling dynamically.

  2. CSS in theme files: Navigate to Assets folder → locate base.css/style.css/theme.css → add CSS targeting #div.cj-design-btn2 with custom background color and margin properties.

  3. Custom CSS settings: Use Shopify’s built-in customizer (Online Store > Customize > Settings > Custom CSS) to paste styling code that modifies .cj-design-btn2 with properties including border-radius, max-width, margin, background-color, and text color.

All solutions involve CSS modifications but differ in implementation location. The third option is the most user-friendly as it uses Shopify’s native customization interface rather than direct code editing. Each responder included screenshots demonstrating their solution’s results.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

Hi how do I change the Position and Color of the cjdropshipping design button?

authenticpet.com - 3144

1 Like

Hey @Idob

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @Idob

Try 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:
div#cj-design-btn2 {
    margin: 13px !important;
    background: red !important;
}

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

Go to online store > Customize > Settings > Custom Css
and paste this code there

.cj-design-btn2{

border-radius: 10px !important;

max-width: 44rem !important;

margin: 10px auto 10px 0px;
color: #B6FFF9;
background-color: rgb(39, 57, 82);
}

1 Like