1
davidtillyer
Header Bar

I have changed the depth of the headder and the headder BAR (the silver bar)has got narrower. How do I extend it again and make it the FULL with of the page?

DT

2
wtravel
Re: Header Bar

That depends on the rest of your code in the theme file. Without the theme code I cannot know for sure. Can you post a link to your theme file?

Martijn

3
davidtillyer
Re: Header Bar

did you just want to see the bit of the header bar code or the whole thing.

DT

4
wtravel
Re: Header Bar

Better the whole thing , because if a parent table is incorrect and not in the header bar code, it may very well cause the header bar to show incorrectly.

Martijn

5
davidtillyer
Re: Header Bar

Hi the is ALL the code in the theme.html file. It's just the silver bar is cut short both sides by 3mm and I need it to be extended full across the page.

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











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




<{$xoops_module_header}>











 








<{if $xoops_showrblock == 1}>



<{/if}>




<{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}>



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







<{$xoops_footer}>



6
tjnemez
Re: Header Bar
  • 2005/4/8 14:31

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i believe this is your problem:

the cellspacing is adding a 10px margin on either side.

7
davidtillyer
Re: Header Bar

Hi Thank you, for that.

I set it to "10" as I wanted thew header to be DEEPER if not the banners touch the silver bar and the very top of the page.

I set it to "10" to give it some space and it looks good like above there is space around the banner.

Is there another way to deepen the header?

DT

8
wtravel
Re: Header Bar

You could use cellspacing with your banner, by adding a class to your css file and calling this class in your theme file.

For example:


In your css file you add a class with this name and set cellspacing to x.

Martijn

9
davidtillyer
Re: Header Bar

Hi,

Thank you for that. this is the NEW bit (img class="bannerimg" src=") you have added but it still dose NOT allow any space around the banner.

Take a look http://www.theeclub.com

DT

10
wtravel
Re: Header Bar

Hi David,

You will also need to add this class to your css file. And make sure you do not have a conflicting class in the css file, like general behavior for IMG tags. This usually will work well, but some browsers do not handle this correctly.

Martijn

Login

Who's Online

182 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 182


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