gstar Posted December 14, 2021 Share Posted December 14, 2021 Any tips on where to look to change the background color in the classic theme? Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2021 Share Posted December 14, 2021 If you want e.g. change the wrapper color put the correpding CSS code into your themes custom.css file Link to comment Share on other sites More sharing options...
gstar Posted December 14, 2021 Author Share Posted December 14, 2021 30 minutes ago, JBW said: If you want e.g. change the wrapper color put the correpding CSS code into your themes custom.css file Thank you, that is exactly what I was looking to do. For some reason however, I cannot find that in /public_html/themes/classic-rocket/assets/css/custom.css?action=edit. Am I looking in the correct place? Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2021 Share Posted December 14, 2021 1 minute ago, gstar said: themes/classic-rocket/assets/css/custom.css Yes this is the correct path. You have to edit it by FTP or SSH, not sure where the ?action=edit is coming from in your example Link to comment Share on other sites More sharing options...
gstar Posted December 14, 2021 Author Share Posted December 14, 2021 Can you confirm the exact code? Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2021 Share Posted December 14, 2021 e.g. #wrapper { background: #df0c0c; } Link to comment Share on other sites More sharing options...
gstar Posted December 14, 2021 Author Share Posted December 14, 2021 Fantastic, this time it worked! What about the outer part? There is still a part of the page different background. Link to comment Share on other sites More sharing options...
JBW Posted December 14, 2021 Share Posted December 14, 2021 Use the inspect function (right click on the element) in your browser to identify the correpsonding CSS selector Link to comment Share on other sites More sharing options...
gstar Posted December 14, 2021 Author Share Posted December 14, 2021 Is it this? Link to comment Share on other sites More sharing options...
hshaker Posted December 14, 2021 Share Posted December 14, 2021 Il y a 4 heures, gstar a dit : Any tips on where to look to change the background color in the classic theme? Very Nice Module colorchange.zip Link to comment Share on other sites More sharing options...
gstar Posted December 14, 2021 Author Share Posted December 14, 2021 21 minutes ago, hshaker said: Very Nice Module Indeed, nice module but it does not have the option to change background color; only background image. Link to comment Share on other sites More sharing options...
hshaker Posted December 14, 2021 Share Posted December 14, 2021 il y a une heure, gstar a dit : Indeed, nice module but it does not have the option to change background color; only background image. is her Link to comment Share on other sites More sharing options...
gstar Posted December 15, 2021 Author Share Posted December 15, 2021 On 12/14/2021 at 5:25 PM, hshaker said: is her Ok I tried that too but it is still showing as grey. Link to comment Share on other sites More sharing options...
Nickz Posted December 15, 2021 Share Posted December 15, 2021 Have you edited in the various css files most themes offer? Also clear out caches leaving the index.php files intact. Link to comment Share on other sites More sharing options...
gstar Posted December 15, 2021 Author Share Posted December 15, 2021 7 minutes ago, Nickz said: Have you edited in the various css files most themes offer? Not sure what you mean. I use the classicrocket theme without modification. 8 minutes ago, Nickz said: Also clear out caches leaving the index.php files intact. Yes, I cleared cache. Link to comment Share on other sites More sharing options...
Nickz Posted December 15, 2021 Share Posted December 15, 2021 There are various css files, check with f12 and inspect element which css is invloved and edit also the scss files. Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2021 Share Posted December 16, 2021 9 hours ago, Nickz said: Have you edited in the various css files most themes offer? Never edit your themes css files, you will loose it with a theme update! Do all css changes in the custom.css file Link to comment Share on other sites More sharing options...
Nickz Posted December 16, 2021 Share Posted December 16, 2021 5 hours ago, JBW said: Never edit your themes css files, you will loose it with a theme update! You do as you please, to see changes edits in the css are totally OK. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted December 16, 2021 Share Posted December 16, 2021 @gstar You can use this module to add custom css without edit the template file , It is better to put css in custom.css or any module, which will help you to keep your changes when update theme Thank you Link to comment Share on other sites More sharing options...
gstar Posted December 17, 2021 Author Share Posted December 17, 2021 Incredible, nearly a week searching and going by the feedback here and I finally found it! It was in a completely different file: /assets/css/theme.css. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted December 17, 2021 Share Posted December 17, 2021 Glad to know your issue solved. Do not forget to change the title as [solved] If you face any issue do not forget to inform here, we or other will try to help you Thank you Link to comment Share on other sites More sharing options...
JBW Posted December 17, 2021 Share Posted December 17, 2021 1 hour ago, gstar said: It was in a completely different file: /assets/css/theme.css. Allmost all theme css is in this file. Nevertheless you should not change it - do your adjustments in custom.css, it will overrule the themes default and is safe for theme upgrades Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now