1
p3aul
Placing a name banner in the header
  • 2013/7/10 3:41

  • p3aul

  • Just popping in

  • Posts: 8

  • Since: 2013/7/10


I want to change the height of the header so I can place my banner for my site there. I found the file "style.css in the default theme. and located #header and #xo-bannerfix. First i changed the height to 251px. That didn't work so I changed the height in #xo-bannerfix to 251px as well.That didn't seem to work either. I know I will have to change the background image before it all works right but I must get the banner image first. Can someone point me to the file and property I need to change?
Thanks,
Paul

2
Mamba
Re: Placing a name banner in the header
  • 2013/7/10 10:30

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I think, you need to change both:

#xo-bannerfix in style.css and

#xo-fixbanner in xoops.css

But first, get the right image, so you can see how it works.

Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
p3aul
Re: Placing a name banner in the header
  • 2013/7/11 7:43

  • p3aul

  • Just popping in

  • Posts: 8

  • Since: 2013/7/10


First of all; Thanks for replying!
Quote:
I think, you need to change both: #xo-bannerfix in style.css and #xo-fixbanner in xoops.css
But first, get the right image, so you can see how it works.


Ok, step by step here is what I did:

[1] I changed #header and #xo-bannerfix in style.css of default theme to height 251px

[2] That didn't work so I followed your suggestion and changed #xo-bannerfix in xoops.css to height 251 and width 901.

[3] renamed my logo logo.png and replaced the xoops original file logo.png with mine.

results? Nothing changed! Where is Xoops getting the info and files from?!
Thanks,
Paul

4
p3aul
Re: Placing a name banner in the header
  • 2013/7/11 8:52

  • p3aul

  • Just popping in

  • Posts: 8

  • Since: 2013/7/10


OK seems I do my best work when I declare that I can't do it! I've got the logo in the header but it's on the left and I need it in the middle. http://www.3ryd.com/fam2/ to see it. I had to right click on the logo in the header and prepare to save it on my harddrive when I saw the filename. I looked with filezilla to find it on the server and just replaced it with mine. I also saw that the creators of xoops anticipated that someone want to modify it so they also included the PSD file!

Anyway, any suggestions on how to center the logo?
Thanks,

Paul

5
FreddyH
Re: Placing a name banner in the header
  • 2013/7/11 18:11

  • FreddyH

  • Just popping in

  • Posts: 18

  • Since: 2013/7/1 1


If nothing works you probably forgot to check Check templates for modifications in preferences? Try

6
p3aul
Re: Placing a name banner in the header
  • 2013/7/11 22:51

  • p3aul

  • Just popping in

  • Posts: 8

  • Since: 2013/7/10


Ok "Check templates for modifications" was checked. I can't find
what file is it located in?
Thanks,
Paul

7
FreddyH
Re: Placing a name banner in the header
  • 2013/7/11 23:23

  • FreddyH

  • Just popping in

  • Posts: 18

  • Since: 2013/7/1 1


You add align="center" to the table that holds your logo in templates of your theme

8
p3aul
Re: Placing a name banner in the header
  • 2013/7/11 23:35

  • p3aul

  • Just popping in

  • Posts: 8

  • Since: 2013/7/10


I changed the header table in theme.html in the default theme. Nothing happened. Can you be more specific as to wich table and which file?
Thanks

9
FreddyH
Re: Placing a name banner in the header
  • 2013/7/12 15:46

  • FreddyH

  • Just popping in

  • Posts: 18

  • Since: 2013/7/1 1


Line 39 in theme.html
from:
to:


10
p3aul
Re: Placing a name banner in the header
  • 2013/7/12 23:56

  • p3aul

  • Just popping in

  • Posts: 8

  • Since: 2013/7/10


Ok that's the one I changed. It didn't do anything. :(

Login

Who's Online

451 user(s) are online (328 user(s) are browsing Support Forums)


Members: 0


Guests: 451


more...

Donat-O-Meter

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

Latest GitHub Commits