Hello!
How to change the html code? I did not find it in the admin panel and the folder with the files
The admin panel is empty
The discussion revolves around changing HTML code in Discourse. luckydev initially asks how to edit the HTML code, but cannot find it in the admin panel. mikechristopher suggests checking the “Customize” section in the admin panel, where custom HTML/CSS can be added.
luckydev seeks to change the design by removing parts, but mikechristopher explains that Discourse is coded in Ruby and cannot be amended directly. Vaping_Community suggests injecting code in specific areas, such as before the <header> tag, and adding custom CSS in the “CSS Tab”.
mikechristopher notes that most changes can be made using CSS/JS, but requires skill. To delete the <thead>, mikechristopher provides a CSS code snippet. Additionally, sharkdeng inquires about inserting a Google Admob ad code between the <head> tag.
What HTML code are you trying to change - have you tried going to Customize in the admin panel?
From there you can add in custom HTML/CSS
This is where you can inject your own HTML - Discourse is coded in Ruby not HTML so you cannot amend the source files directly.
What is it you are trying to do?
A little to change the design, some parts to remove, this can not be done?
You can inject code before <header> and after After Header the Header and before / inside the Footer
You can also add any script links or meta tags to </head>
All custom CSS can be placed in the “CSS Tab” Common / Desktop / Mobile
As far as I can see you cannot edit the default structure, maybe one of the devs can interject if that is not true.
Most things now can be altered/removed/added using CSS/JS trickery as long as your skills are up to the challenge ![]()
It’s not just as simple as removing / changing some HTML coding though.
Have a read through the other categories such as #howto:tips-and-tricks or #plugin:theme
How to delete thead?
I suggest you start learning some css if you want to start customising things ![]()
To get you started - you could use:
thead {
display: none;
}
Can I insert one Google Admobe Ad code between tag?