We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

About Header | Forum

Topic location: Forum home » Development » Themes
Timmysweb
Timmysweb Aug 7 '16
Hello

I have removed the header, but there is still a blank area.

Which php can i edit to remove the header element? Thanks :)

Darryl B Leader
Darryl B Aug 7 '16
You don't need to edit the theme's base css, or try to do anything in the core. What method did you use to remove the header?  Anything you do to the core, or base css will be lost on the next update.

It is usually as simple as adding this to the custom css for the theme in the admin panel.

.ow_header {
    display: none;
}
The Forum post is edited by Darryl B Aug 7 '16
dave Leader
dave Aug 7 '16
Timmy just to help you to understand the overall concept of how things work between the serverside and the clientside, you might want to take a look here. 


If you scroll down just a bit it will guide you thru the difference. :)

http://programmers.stackexchange.com/...ent-side-programming

php is serverside css,html,js,smarty  for example are clientside



Ebenezer Obasi
Ebenezer Obasi Aug 7 '16
+1 Darryl and dave
Timmysweb
Timmysweb Aug 7 '16
Hello
I have edited base.css and change the header height as 0px,
it works in iPad / Desktop version.
But there is still a blank in iPhone version.
Thanks :)
Timmysweb
Timmysweb Aug 7 '16
iPad Ver
Attachments:
  image.jpeg (156Kb)
Timmysweb
Timmysweb Aug 7 '16
iPhone ver
Attachments:
  image.png (533Kb)
Darryl B Leader
Darryl B Aug 7 '16
Try the css I listed above. Place it in the theme's custom css box in admin / appearance / customize click on the css tab. You will see the custom css box below the view of the base css.
The advantage of adding your css changes here is that they won' be overwritten the next time the theme is updated. It will only apply to the theme you are modifying, and will create a css file in the userfiles folder in the Oxwall directory.
dave Leader
dave Aug 7 '16
Interesting site timmy, never seen a Oxwall community about toys before, interesting
ross Team
ross Aug 15 '16
Topic was moved from General Questions.