1
aamjad2001
How would the contents below header be made ,strechable?
  • 2006/6/20 22:05

  • aamjad2001

  • Just popping in

  • Posts: 64

  • Since: 2006/6/20


can someone help me regarding how to make the content below the header stretchable.
why does it always is compressed to the center in my theme

i am using the bubble theme and the theme.html is like this

---------------------------------------------------------
---------------------------------------------------------















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




<{$xoops_module_header}>

















   
 















 


<{if $xoops_showlblock == 1}>

<{/if}>

<{if $xoops_showrblock == 1}>

<{/if}>





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








<{$xoops_pagetitle}> imag1

<{if $xoops_showcblock == 1}>










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



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



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


<{/if}>

<{$xoops_contents}>

<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>

<{if $xoBlocks.page_bottomcenter}>



<{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>




<{/if}>
<{foreach from=$xoBlocks.page_bottomcenter item=block}><{include file="$xoops_theme/theme_blockcenter_c.html"}><{/foreach}>
<{foreach from=$xoBlocks.page_bottomleft item=block}><{include file="$xoops_theme/theme_blockcenter_l.html"}><{/foreach}> <{foreach from=$xoBlocks.page_bottomright item=block}><{include file="$xoops_theme/theme_blockcenter_r.html"}><{/foreach}>

<{/if}>


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












<{$xoops_banner}>




---------------------------------------------------------
----------------------------------------------------------

2
Bassman
Re: How would the contents below header be made ,strechable?
  • 2006/6/20 23:28

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Looking at that code, I would say you will have to find #Main in your style.css stylesheet and change the width from whatever it is in px to width:100%

This may have some effects elsewhere however.

3
snow77
Re: How would the contents below header be made ,strechable?
  • 2006/6/20 23:46

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


In the downloads section of where the theme is found, among the feautures list it says (if you read closely):

Quote:
If you wish to change the width of the theme to a different pixel size or convert it to 100% just change the width value in Main {} in the style.css


exactly as Bassman had said.

4
aamjad2001
Re: How would the contents below header be made ,strechable?
  • 2006/6/21 1:08

  • aamjad2001

  • Just popping in

  • Posts: 64

  • Since: 2006/6/20


Thanks a lot.
that helped

Login

Who's Online

382 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 382


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