Hi how do I change the Position and Color of the cjdropshipping design button?
authenticpet.com - 3144
A user seeks help changing the position and color of a CJdropshipping design button on their TASTE theme Shopify store.
Three solutions were provided:
JavaScript approach: Add custom code to theme.liquid file, placing it above the </body> tag to modify button styling dynamically.
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.
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.
Hi how do I change the Position and Color of the cjdropshipping design button?
authenticpet.com - 3144
Hey @Idob
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
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.
div#cj-design-btn2 {
margin: 13px !important;
background: red !important;
}
And Save.
Result:
Note; You can change the color you like.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!