bluesteam Posted January 18, 2021 Share Posted January 18, 2021 Hello, I just cant figure this out. I have created a custom template as per this tutorial: https://developers.whmcs.com/themes/child-themes/ Here is the file structure that I have created. It's simple, I want to change the radio button to a different color so i edited the original blue.png file to the colors I want and then uploaded the new file to my css folder EXACTLY how it is in the parent folder but the image is not overriden. In the above screenshot, you can see it is still loading the image from the parent and not the child theme. And yes, I have applied the new orderform template in General Settings -> Ordering I have cleared caches, I have tried different browsers and even checked the URL on the page that loads. It is still the image from the parent that gets loaded. What am I missing?? Please can someone help? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 18, 2021 Share Posted January 18, 2021 4 hours ago, bluesteam said: It's simple, I want to change the radio button to a different color so i edited the original blue.png file to the colors I want and then uploaded the new file to my css folder EXACTLY how it is in the parent folder but the image is not overriden. if the URL of the image file is defined in all.min.css, did you upload a modified all.min.css in the child css folder or redefine the url in a custom.css? 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted January 19, 2021 Author Share Posted January 19, 2021 13 hours ago, brian! said: if the URL of the image file is defined in all.min.css, did you upload a modified all.min.css in the child css folder or redefine the url in a custom.css? I tried those things too but they didn't take effect either. I eventually gave up with the parent child and copied EVERYTHING over from six in to my custom template and then ran a search and replace and edited all the files to reflect my new template name. things are working but the parent child relationship is completely borked! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 19, 2021 Share Posted January 19, 2021 7 hours ago, bluesteam said: I tried those things too but they didn't take effect either. I would have been adding !important to any cart CSS definitions in a custom.css file - you usually need to. 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted January 19, 2021 Author Share Posted January 19, 2021 (edited) LOL! I tried that too...even though it SHOULD NEVER be necessary as !important is scoffed at in the CSS world but it didn't work either... Edited January 19, 2021 by bluesteam 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 19, 2021 Share Posted January 19, 2021 2 hours ago, bluesteam said: LOL! I tried that too...even though it SHOULD NEVER be necessary as !important is scoffed at in the CSS world but it didn't work either... then they would have a field day scoffing at how WHMCS uses CSS! 🙂 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted January 19, 2021 Author Share Posted January 19, 2021 39 minutes ago, brian! said: then they would have a field day scoffing at how WHMCS uses CSS! 🙂 Very very true!! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.