1
davidtillyer
Banner & Header change

Can someone tell me how to change the "Blue" banner and left XOOPS logo at the very top of the page?

David

2
Herko
Re: Banner & Header change
  • 2005/3/17 9:47

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


edit themes/default/theme.html.

Or better yet: copy the whole /default/ folder to your HD, rename it, edit it, and then upload to your themes/ folder, select your own custom theme to be active (in system admin, preferences, general settings) and voila

Herko

3
davidtillyer
Re: Banner & Header change

Thank's for your reply. I will give that a go and let you know how I get on.

Thanks again
David

4
davidtillyer
Re: Banner & Header change

Hi I have gone to the file you side and I do not know what to do the change the headder to what I want? I have this in an HTML below !!

<{$xoops_module_header}> <{$xoops_banner}>

<{foreach item=block from=$xoops_lblocks}> <{include file="default/theme_blockleft.html"}> <{/foreach}> <{if $xoops_showcblock == 1}> <{foreach item=block from=$xoops_ccblocks}> <{include file="default/theme_blockcenter_c.html"}> <{/foreach}>
<{foreach item=block from=$xoops_clblocks}> <{include file="default/theme_blockcenter_l.html"}> <{/foreach}> <{foreach item=block from=$xoops_crblocks}> <{include file="default/theme_blockcenter_r.html"}> <{/foreach}>
<{/if}>
<{$xoops_contents}>

What I want to do is change the bluey headder and XOOPS logo for what I have. As I read the above it telling me where it will get the files from and what ones to use!!!

All I want to do is change the colour of the headder, the depth and add my company logo. This I have done, but it looks crap aas the headder is too norrow. Can you please help? Whould it be of any benifit to you to see the site?

David

5
Herko
Re: Banner & Header change
  • 2005/3/19 12:20

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


It's the part above the code you posted here:

<table cellspacing="0">
<
tr id="header">
<
td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" />a>td>
<
td id="headerbanner"><{$xoops_banner}>td>
tr>
<
tr>
<
td id="headerbar" colspan="2">&nbsp;td>
tr>
table>

Change the part with logo.gif to match your own, and change tr id=header with tr bgcolor="your color"

Herko

6
davidtillyer
Re: Banner & Header change

In what file do I find this as the code I post you is ALL the code in that file and what you sent me is NOT there?

What file do I find this, I think I understand now what needs to be done it where do I find it !!!
David

7
Herko
Re: Banner & Header change
  • 2005/3/19 12:35

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


You're saying that your themes/yourtheme/theme.html file ONLY contains the code you posted? If that's so, then something is very wrong with that theme file. Just take a look at themes/default/theme.html (that's where I got the code from that I pasted here).

Herko

8
davidtillyer
Re: Banner & Header change

Hi Yes that correct the ONLY code that is in the thems.html file is :

<{$xoops_module_header}> <{$xoops_banner}>

<{foreach item=block from=$xoops_lblocks}> <{include file="default/theme_blockleft.html"}> <{/foreach}> <{if $xoops_showcblock == 1}> <{foreach item=block from=$xoops_ccblocks}> <{include file="default/theme_blockcenter_c.html"}> <{/foreach}>
<{foreach item=block from=$xoops_clblocks}> <{include file="default/theme_blockcenter_l.html"}> <{/foreach}> <{foreach item=block from=$xoops_crblocks}> <{include file="default/theme_blockcenter_r.html"}> <{/foreach}>
<{/if}>
<{$xoops_contents}> <{if $xoops_showrblock == 1}> <{foreach item=block from=$xoops_rblocks}> <{include file="default/theme_blockright.html"}> <{/foreach}> <{/if}>

THAT's it complete. What shoul I do?


David

Login

Who's Online

166 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

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

Latest GitHub Commits