Header Height.

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
fremitus
Posts: 3
Joined: Thu Aug 10, 2006 9:32 pm

Header Height.

Post by fremitus »

So the default Header/navigation bar has a blue background. I found where to change the color in colors.css, but where can i change the height of that same bar?

Thorsten thanks so much for this really great software and for your unbelievable promt and helpful support!

Colby
Thorsten
Posts: 15723
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you can change it in template/style.css. :-)

Thanks for using phpMyFAQ!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
david_de
Posts: 72
Joined: Tue Dec 13, 2005 12:09 am

Post by david_de »

I adjusted mine in this location. Hope this helps until someone with more information answers.

Code: Select all

#header {
   position: relative;
   min-height: 103px;
   height: 5em;
   padding: 0;
   margin: 0;
   margin-bottom: 1em;
   height: 3em;
   padding: 15px 0;
}
Thorsten
Posts: 15723
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you have to play with the following CSS code:

Code: Select all

/**
* Main navigation
*/
#header ul {
   width: auto;
   position: absolute;
   bottom: 0;
   right: 0;
   margin: 0;
   padding: 0 15px 0 0;
   list-style: none;
}
#header li {
   float: right;
   padding: 0 6px 0 0;
   margin: 0 1px 0 0;
   display: inline;
   white-space: nowrap;
}
#header ul a {
   float: left;
   display: block;
   padding: 10px 4px 4px 10px;
   font-weight: bold;
   font-size: 110%;
   text-decoration: none;
}
#header ul a:hover {
   text-decoration: underline;
}
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15723
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,
bimmerboy wrote:Perfect Thorsten, now that is right with the buttons BUT i still can´t find the place to adjust the HEIGHT of the header.
you can define the height here:

Code: Select all

#header {
   position: relative;
   min-height: 39px;
   height: 5em;
   padding: 0;
   margin: 0;
   margin-bottom: 1em;
   height: 3em;
   padding: 15px 0;
}
bimmerboy wrote:next thing i wish to change is to remove the newssection and put the
top 10 and 5 latest answer more to the left and beside eachother.

i also look for where to adjust the width of phpmyfaq
This is all defined in template/style.css at the bottom of the file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply