I was trying to change the css to move the backdrop logo below the text and I deleted it. Ive been trying to figure out how to put it back and nothing I do seems to change the layout and there seems to be a character limit in the block configuration so I edited the css in the sever with nano and screwed it up there. I havent done css coding since I was a kid and its these walls of text nowadays and editing that with nano is a pain. Is there a way to completely reset the layout to get the logo back?
Accepted answer
Comments
Hi NexViolentus. Try downloading Backdrop again in another location, and get the original css files. I assume you are using the Basis theme? You will find those css files in core/themes/basis/css. Copy them into your Backdrop installation. That will restore the original. Then be sure to clear the caches! Otherwise Backdrop will continue using the cached css file.
BTW, it's never a good idea to modify the core themes. If you want to experiment, you can install the "Thesis" contrib theme, which is a verbatim version of Basis. Or you can try creating a subtheme of Basis.
Good luck!
I had to reinstall everything and rebuild the site anyway after I tried to migrate from google to digital ocean and I did it totally wrong.
I tried clearing the caches so I think something must be overriding the changes and I found that I shouldn't edit the block configuration because that is what was breaking the css settings I was trying to change.
Hi NexViolentus
There are two modules that can help if you only want to change a small bit of CSS:
If you want to change lots, then sub-theming is probably the right way to go but these are great for making small overrides.
I haven't looked at these personally, but I've helped a few other newcomers to do what they need with CSS Injector. CSS Editor may be better as it says it does syntax highlighting.
Is there a way to resize the css editor in the appearance settings? It gets resized unless I turn the color module off.
Use CSS Injector... it's a lot easier.
Hi NexViolentus. Try downloading Backdrop again in another location, and get the original css files. I assume you are using the Basis theme? You will find those css files in core/themes/basis/css. Copy them into your Backdrop installation. That will restore the original. Then be sure to clear the caches! Otherwise Backdrop will continue using the cached css file.
BTW, it's never a good idea to modify the core themes. If you want to experiment, you can install the "Thesis" contrib theme, which is a verbatim version of Basis. Or you can try creating a subtheme of Basis.
Good luck!