WhiteBox

Started by Crip, July 06, 2011, 11:38:56 AM

Previous topic - Next topic

Crip

WhiteBox isn't like the Default Curve Theme  //
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

TesZero

First of all... i am very sorry, i posted in SMF 2.x.x. suport this question before. :(
http://www.simplemachines.org/community/index.php?topic=487811.0
Now that i know that is not the right place to post, i did it again here in the theme section.
If is that a problem, just tell and i delete the topic :(
(post it twice it is a probleme, i know it :( )

________________________

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

TesZero

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 :(



:( :( :( :(

Regards


Crip

I fixed your site-Theme like you asked..
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

ARG01

No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

TesZero

#65
thanks for both :D

Crip solved my header problem
and Arg solved my body padding space :D

but...

the buttons menu are in 2 lines, like there is no more space and they splited:



:(

Sorry again :(

TesZero

Hello All :D

i came here to public thanks to Crip that lost some time to help me :D

MANY THANKS :D

for other users, that could have the same problem than me in future, i will post here the solution of my problem.

First, to delete header we whent to index.templat.php

and deleted:

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

(Thanks to Crip)

_______________________________________________________


And then, to eliminate the white space on top i changed  in index.css:

body
{
   background: #FFFFFF;
   font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
   margin: 0 auto;
   padding: 0; (it use to be 15px)
}

(Thanks to ARG)

_______________________________________________________

Then, like in my last post... a problem appears to me...
the menu buttuns jumps to second line with no reason...
the are supose to "jump" if the resolution is too low, but that were happend because my UserArea...
a lot of hours lots arround this problem and de solution was simple...

i just whent to index.css

and here:

#topnav {
   position: relative; (changed to absolute)
   height: 37px;
   z-index: 1000;
   padding: 0;
   margin: 0;


i changed the tapnav position (location of the buttuns in toolbar) to absolute.

So... now, they only jump to second line if the resolution or screen size are low :D

Thanks to Crip and ZarPrime at CripZone forum theme Suport

_______________________________________________________

Hope that this can be usefull to someone one day :D

(i still with a problem... but i will make a new post :D )

Regards :D

TesZero

Well.... now.... i have another problem....

why do i whant to eleminate the header?

hummm... the idea is to put my forum running inside a webpage...

make a header in a frame and then open the forum bellow in another frame.

But, the header that i ´m making have 1000px width...

because i had eliminated those 3 lines to take the header out of my theme...
i cant change forum width :( :( :(

can someone help me how do eliminate header but keep control on forum width?

__________________________________

i found another way...

i whent to index.css and changer de
#header
and
#header-r

hight to 0px (so the header is hidden)

ok... that way i can change in theme settings the width of my forum...
but i lose the userarea / search area

________________________________

i think the problem is in index.template.php:

echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: 1000px' . '">' : '', '
<div id="header">
      <div id="header-l">
         <div id="header-r">

whith this i can change in php the width, but if i delete those 3 lines to remove header i lost control on forum width :(

how can i set forum width if in the theme settings it dosent work without the header?

is possible to change the code lines to do that?

Thanks for your time

Regards

Crip

Stuff like that happens when you dismantle a Theme...
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

ro-lkw

Hello everyone ,

I love this theme ! But I have 2 problems :

First: the Header area is small and the avatar and logo doesn't see.

Second: Look at the arrow in the pictures , that button is orange , can be blue?  ;D

Crip

It's a small Header = you could reduce the Avatars to like: 50x50 px ..?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

ARG01

You could also increase the header height but that would require both altering css and customizing any involved header images. The orange button is the menu_gfx.png image. Altering this image would be required to make color changes.
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

ro-lkw

Thanks ARG ! Is to much for me , I don't have any experience in css . If somebody will large that header please tell me.

I love this theme , and also I want to keep my logo and avatars at original size 150px. :(

Can do someone this ? To large that header ?

Crip

Take the 3 header parts and edit the size "(height)" via Photo-Shop..


Quote from: ro-lkw on October 23, 2012, 09:30:50 AM
Can do someone this ? To large that header ?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Crip

===> Updated with a larger header by Request!
  • Header now 205px!!!
    -------------------------------
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

ro-lkw

Thanks Crip ! Now is better !  ;) ;) ;)

ro-lkw

Crip , I have another problem with online users.

Shambles

Quote from: ro-lkw on October 28, 2012, 08:05:52 AM
Crip , I have another problem with online users.


You need to reupload your "online" image, 'cos this one is crackered

http://www.forum-camioane.com/Themes/whitebox_202/images/useron.gif

Crip

Your logo will fit if you change the /css/index.css like this:

#logo a {
    background: url(../images/id/logo.png) no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    height: 151px;
    left: 4em;
    position: absolute;
    top: 3.2em;
    width: 618px;
}


See pic:
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

ro-lkw

Thanks for help Crip and ShamPire I resolved all problem ! Greathings ! Thanks Thanks Thanks !  ;D ;D ;D

Advertisement: