1
falke
Tuning default theme?
  • 2004/4/28 13:06

  • falke

  • Friend of XOOPS

  • Posts: 158

  • Since: 2004/4/25


Hi, I am new to XOOPS and are trying to tune the default theme to my needs. The main problem is that I would like to exchange the deafult image in the top left with a much wider image. The result is compressed somehow.

Please take a look at http://www.falke.nu/xoops if you like.

What am I doing wrong with this image?
regards/falke

2
Herko
Re: Tuning default theme?
  • 2004/4/28 14:44

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


In themes/default/theme.html you can change the width of the image, as it is hardcoded into the theme.

Herko

3
falke
Re: Tuning default theme?
  • 2004/4/28 15:03

  • falke

  • Friend of XOOPS

  • Posts: 158

  • Since: 2004/4/25


Thanks Herko, i have found that now and changed it in the Zaja_green theme. (look at my site http://www.falke.nu/xoops) But I would like to center that image also and cant figure that out..... It allways stays left justified. Strange!

regrads/falke

4
CBlue
Re: Tuning default theme?

Post your theme.html here and we can show you what to change. The reason that image won't center is because it's in a table with other things in that table. You may see a XOOPS banner there or just a column added to take up empty space.

5
falke
Re: Tuning default theme?
  • 2004/4/28 15:15

  • falke

  • Friend of XOOPS

  • Posts: 158

  • Since: 2004/4/25


OK here it comes....













<{$xoops_sitename}> - <{$xoops_pagetitle}>




<{$xoops_module_header}>
















  <{if $xoops_isuser}> Hey <{$xoops_uname}>   Your
Account
  <{else}> Register
now
! <{/if}> <{if $xoops_isuser}>
<{else}>    Login
<{/if}>













<{if $xoops_showrblock == 1}>



<{/if}>




<{foreach item=block from=$xoops_lblocks}>
<{include file="Zaja_Green/theme_blockleft.html"}>

<{/foreach}>





<{if $xoops_showcblock == 1}>











<{foreach item=block from=$xoops_ccblocks}>
<{include file="Zaja_Green/theme_blockcenter_c.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_clblocks}>
<{include file="Zaja_Green/theme_blockcenter_l.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_crblocks}>
<{include file="Zaja_Green/theme_blockcenter_r.html"}>
<{/foreach}>




<{/if}>



<{$xoops_contents}>



<{foreach item=block from=$xoops_rblocks}>
<{include file="Zaja_Green/theme_blockright.html"}>

<{/foreach}>







<{$xoops_footer}>  |  Design by 7dana.com






6
CBlue
Re: Tuning default theme?

<{$xoops_banner}>


Change to




7
CBlue
Re: Tuning default theme?

If you want to keep the banner then just make sure you have width as width=50% for each column (td) and align=center in both of them too.

8
falke
Re: Tuning default theme?
  • 2004/4/28 15:46

  • falke

  • Friend of XOOPS

  • Posts: 158

  • Since: 2004/4/25


Thanks for the help, mate! But it still shows up the same....
Here is that part of the code after the change:











  <{if $xoops_isuser}> Hey <{$xoops_uname}>   Your
Account
  <{else}> Register
now
! <{/if}> <{if $xoops_isuser}>
<{else}>    Login
<{/if}>










Thanks for you help!

9
TooBaked
Re: Tuning default theme?
  • 2004/4/28 16:08

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


look in themes/zaja_green/style.css and make sure there is nothing like

td#header{}
or
table_header{}


anything like that sometimes will carry a defined header width or header image width. it appears to me the image is the correct size the table it's sitting in is defined to small.

if the table it is in has defined.
"colspan="2" then the image will only span the first TD.

example:
imge herenothing here you see header background


should look like:

image is here 100%


to change this in the css file you will need to know alittle .css (cascading style sheet) to do this.
if you know html you should have no problem with the css.






10
pdaddict
Re: Tuning default theme?
  • 2004/4/28 16:17

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


Maybe you forgot to empty xoopsroot/templates_c ??

Login

Who's Online

282 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 282


more...

Donat-O-Meter

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

Latest GitHub Commits