TheCripZone SMF Themes Site

All Things Public => Theme Support => Topic started by: TesZero on Oct 06, 12, 05:24:51 PM

Title: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 06, 12, 05:24:51 PM
Theme: Whitebox_20g
Point: remove complete header

Hello, i am tring at 2 days to do that, i never had programed in php before, so i think i need some help. :|

I tried to delete some lines... then i found how to remove the header, but the "search inputbox" i cant remove...
i found that removing the line with the LOGO path i could remove the logo too...

but... in the end, "search inputbox" still there and i have some problems with the buttons menu :(

i tried to look on web and in this forum before posting this...
i found i tried this: http://www.simplemachines.org/community/index.php?topic=475223.0

with no sucess...

summarizing...

what i am trying to do is this:

remove the entire header:

and in the final is should look like this:


i had attached my "index.php" and index.template.php" to this post.
they are the original files from the Theme Whitebox_20g, maybe this way is more easy someone help me.

If some one can help me modifing the needed files attaching them in the answer or post here the code that i need to change, it would be vere helpfull :)

Regards

Pedro Silva
Portugal
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 06, 12, 05:25:55 PM
forgot one thing :(

i would like to keep User Area below menu.

i allmost did it...

i deleted those line:

<div id="header">
<div id="header-l">
<div id="header-r">

Then the result was allmost what i whant, but:

- still need to remove search inputbox
- menu bar whent crazy :(

http://imageshack.us/a/img16/2541/tried.png

:( :( :( :(

Regards
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 06, 12, 05:28:17 PM
Hi,
May I have a LINK to your site?
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 06, 12, 05:38:48 PM
yes... offcourse...
it is in the printscreens, but here you have it:

www.spcteste.pt.vu

Now it is a crap... i did what i writed in the last post.

i will upload the normal index.php and index.template.php again so you can see it better.

Thanks :D
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 06, 12, 05:43:24 PM
www.spcteste.pt.vu
If you can give me a Temp. Admin Account I can help you?
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 06, 12, 05:55:31 PM
I'll be back tomorrow.........
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 06, 12, 06:22:55 PM
Ok Crip.

Thank you so mutch.

I will back tomorrow too :D

like i sent to you by p.m. i granted you full admin privileges.


What i have now is that:

http://imageshack.us/a/img26/9530/normalg.png


and what i need to do is that:

http://imageshack.us/a/img94/5614/adaptado.png


so i need:

- remove header
- remove logo (done)
- remove search inputbox
- put user area below menu

and :D most important... understand what i need to change to lear how to do it :D

(images printscreen were made in paint :( sorry for quality)

Regards

Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 09:12:23 AM
I removed what you ask for..is all sorted now??
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 02:16:46 PM
no :( :( :(

that i made allready, but :
- there still a white space betwene menu and browser ( red in printscreen)
- The menu buttons came down and they are not where they should be :( (green in printcreen)

http://imageshack.us/a/img443/9571/aaapw.png

Sorry :( - Help :(

Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 02:37:32 PM
ok... the red part i did remove allready by using:

body
{
background: #FFFFFF;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 0;
}

in index.css

it was padding: 15px 0;

learned by here: http://www.simplemachines.org/community/index.php?topic=487811.0;topicseen

but... keeping the buttons problem... they apper in 2 lines :(

Regards.
Thanks
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 02:48:59 PM
Buttons look Okay to me?

I forgot my Pass Word?
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 03:28:37 PM
I register at your site, I need to be Admin to help you??
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 03:31:55 PM
ok... i think i found the prblem but i dont know how to solv it :p

http://imageshack.us/a/img24/3081/aaamf.png

buttons came to second line because userarea....
i think....

the green area in printscreen

sent you password for pm.
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 03:45:55 PM
Is Okay now??
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 03:55:40 PM
I fix it??
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 03:57:42 PM
no :( :( :(

you had reduced the userarea with to 23em :(

if you pass your mouse bellow the tool bar you will still finding buttons...

the problem is with the green area in printscreen i think...

i think it should be under the toolbar....

it is breaking the tool bar buttons limit so they fall to second line :(

i tried before put a smaller with but with the same result :(

i am giving you sooooo mutch truble :(
sorry :(

cant we put the greenzone in printscreen bellow toolbar buttons?

i can put up and down the userarea text... but i cant move or give space to userarea green part :(

:(
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 04:04:23 PM
This not all your links?
pic:
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 04:05:28 PM
See this printscreen:

http://imageshack.us/a/img854/3/aaamn.png

i think the problem is in the red square

i think the problem is not with the userarea with...
but with the user area padding or margin or space (i dont know the correct term)...

if we put the green area in the printscrean  (red square) down the problem will be fixed...

i think :D
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 04:08:20 PM
Quote from: Crip on Oct 07, 12, 04:04:23 PM
This not all your links?
pic:

yes in your computer / resolution...

in mine it appears like this attachment.
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 04:10:16 PM
I try again.......
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 04:11:16 PM
thank you :D

Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 04:16:48 PM
Fixed now?
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 04:21:36 PM
nop... still the same...

like printscreen that i posted before :(

userarea is braking the toolbar buttons limet then they jump to scond line :(

cant we put the useraera after toolbar?

put this red square bellow 50px?

http://imageshack.us/a/img854/3/aaamn.png

Thanks for the help
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 04:32:33 PM
Fixed now??
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 04:39:16 PM
no... the same problem...

fonts ou resolution changed... but if you use google chrome like in printscreen and make "inspect element" in the userarea, you will see the green square in the userares that is breaking the tool bar :(


Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 04:41:52 PM
I can't fix for every screen resolution .... I'm 1920x1080
...maybe my other Admin can help you further?
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 05:09:40 PM
when i do "inspect element" in my google chrome in your page it dosent appear the green square that appers in my forum:

http://imageshack.us/photo/my-images/94/youra.jpg


so...

why in this forum your

div#user have 219px x 55px

and mine

div#userdata have 519px x 104px

??????????????

were do you think that we can change it?

i think it is here the problem... :| :| :| :|

Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 05:56:30 PM
This Theme is made basically like Curve Default Theme, that's the difference Bro'
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 07, 12, 06:02:37 PM
Might I suggest this similar Theme ?
http://www.jpr62.com/demos/index.php?theme=71
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: ZarPrime on Oct 07, 12, 07:21:08 PM
Quote from: Crip on Oct 07, 12, 04:41:52 PM
I can't fix for every screen resolution .... I'm 1920x1080
...maybe my other Admin can help you further?

Crip, I can't seem to get to his forum right now or I'd take a look at it.  TesZero, out of curiosity, what screen resolution are you using on your computer?  If the width of your screen resolution is too small for the number of menu items you have, they will wrap to the next line.  Basically, the only way to fix this is to make the font in use for the menu smaller.
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: TesZero on Oct 07, 12, 08:15:08 PM
Hiii guys :D

thank you sooooo mutch for your help :D

i know that depending on my screen resolution the buttons go to line 2...
but they go to line two just when i am using a low resolution or a small screen...

in this case i was programing in 1280x1024...

the problem is that the buttons jumped to line 2 and the toolbar it was only half full... (see printscreeans)

BUT :D :D :D :D :D

I found the problem and solve it :D

he he he

and... how did i figure it out?????

http://imageshack.us/photo/my-images/194/semttulo111j.png

i saw the code in the buttun... and then i saw that the propreties of the buttons were on here:


#topnav {
   position: relative;
   height: 37px;
   z-index: 1000;
   padding: 0;
   margin: 0;

Soo..... let´s try to change the position from relative to absolute and.... IT WORKS :D

Now i have all the buttons in all my toolbar, only if the resolution is too low they jump to line 2 like it´s supose (not the case) :D

Thank you all for your time...

Spectially you Crip :D :D :D :D

i was all day looking at this and forgot to get my wife from work (grrrrr) :D

But i did it :D :D :D

THANKS :D
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: ZarPrime on Oct 07, 12, 08:31:35 PM
Quote from: TesZero on Oct 07, 12, 08:15:08 PM
i was all day looking at this and forgot to get my wife from work (grrrrr) :D

She'll be as happy as we are that you solved it. ;) Good job on getting to the bottom of it. O0

ZarPrime
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 08, 12, 07:54:28 AM
Thanks for helping us ZarPrime,
i was getting a bit frustrated when I tried and nothing worked..Lol. ;)
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: ZarPrime on Oct 08, 12, 10:36:31 AM
Crip, no problem, even though I didn't do much since I couldn't actually get to his site to look at it the other day.

However, I would like to mention something to TesZero.  TesZero, I can't tell what versions of SMF and TinyPortal you are using since you have removed the copyrights for both of those from your site.  Because of this, please keep in mind that, if you need support for either SMF or TinyPortal in the future, it is likely that nobody will assist you with that until you have put those copyrights back in.  I can't speak for anyone on this concerning SMF but I do know that the copyright policy for TinyPortal is that it is OK to remove the TinyPortal copyright for versions of TP after and including TP 1.0 Final but none of the TinyPortal Team will offer you support should you choose to do this.

ZarPrime
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: Crip on Oct 08, 12, 10:45:35 AM
True ZarPrime , I didn't even notice those links were gone.
Title: Re: How to remove the complete Whitebox 2.0 header ???
Post by: ZarPrime on Oct 08, 12, 11:00:15 AM
Yep Crip.  It's the first thing I always look for when someone asks for support.  It helps me to figure out how to help them most of the time. ;)

ZarPrime