1
98_Z28
Just a small little question
  • 2004/5/18 16:46

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


If you goto my webite. Under my logo, there is a blank white space. How do I get rid of that? Can I fill in the white space with the same color as the logo? Thankyou for your help.


Jason

2
m0nty
Re: Just a small little question
  • 2004/5/18 17:00

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


well you could either make the background colour of the header table the same as the logo colour..

or resize your logo..

a simple solution is replace this line in theme.html

<td id="headerlogo><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" /></a></td>

replace with:

<td id="headerlogo><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="110" alt="" /></a></td>

all i've done basically is resized the image max height for that table.. so the image will be expanded to fit that size..


or you could edit the CSS file look for the headerlogo class, but i see your using the default set, so you will have to clone this first by going to XOOPS admin/templates..

then select the new template set in XOOPS admin/preferences/general settings..

hope this helps

3
98_Z28
Re: Just a small little question
  • 2004/5/18 21:36

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


Hi, thankyou for your reply. If I remember correctly, I did originally have a larger logo and placed it there. A portion of the bottom of the logo would not show. That white space would cover it up. It seems like the white space is located in a different css file or something. I did clone the template and download, but I did not find a css file to edit. I didn't see a headerlogo file either. Know what I might need to do? Thanks for your help.


Jason

4
m0nty
Re: Just a small little question
  • 2004/5/18 21:43

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


hi, the larger logo you made will probly work, it's just the table was set to height="80" so there will always be that white section until u change the background colour or change the height.. ie in the case above i changed the height to make it height="110" which fitted with the rest of the header..


the headerlogo is not actually a file, it's a class in the style.css file

if u look in that file you will see all the table definitions etc, the colours, text decoration etc etc..

wherever it says td class="name" or class="odd" "even" etc etc basically wherever something is defined as a class, you should find those classes in the style.css file..

changing each section (class) will change the looks, colours and borders etc of your site..

5
98_Z28
Re: Just a small little question
  • 2004/5/19 2:36

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


Hi, thankyou for helping me. How do I change the backcolor? Which file do I edit to change the backcolor so it will fill in the white area with my own color? Thankyou.



Jason

6
m0nty
Re: Just a small little question
  • 2004/5/19 3:56

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


1st you have to clone your default template set.. XOOPS will not allow you to edit the default set!!!

once you have cloned it, make sure you select the new template set that u just created as the default template by going to XOOPS admin > system module > preferences > general settings change your template set to the new 1 u created..

once this is done, edit file /themes/(your new theme folder)/style.css

open style.css > then find >

td#headerbar {border-bottom: 1px solid #dddddd; background-image: url(hbar.gif);}

add the following below >

td#headerlogo {background-color: #2F5376;}


save the file..

note: it doesn't matter where u place this line really, but placing it where i told you to place it keeps the classes together so it doesn't get messy when u later change and add things..

7
Stewdio
Re: Just a small little question
  • 2004/5/19 4:02

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Good advise and tips on cloning the template, but I should point out that this need not be done if you are editing /themes/[yourtheme]/style.css

You can make changes to your css anytime, I have done it without cloning.

8
m0nty
Re: Just a small little question
  • 2004/5/19 5:11

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yeah that's true, but i always prefer to leave the defaults as they are.. just in case something goes badly wrong.. lol the default set can be a saviour..

9
98_Z28
Re: Just a small little question
  • 2004/5/20 20:55

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


Thankyou very very much for your help. It fixed it perfectly. Take care.


Jason

10
m0nty
Re: Just a small little question
  • 2004/5/21 0:10

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


your site is very interesting..

my friend is currently playing with vb7 etc and learning vb, so i'll pass your sites url to him if u don't mind..

i also think it would be a nice addition to add the site info block to your homepage, edit the block and disable viewing admin members etc.. that way you'll get a site logo and a recommend us link..

that way people who visit your site can recommend it to people by clicking the link and typing their friends email in.. it would be ideal for a site as informative & resourceful as yours :)

Login

Who's Online

131 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 131


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits