1
dperk
Header align
  • 2007/4/22 2:25

  • dperk

  • Just popping in

  • Posts: 25

  • Since: 2007/4/20


Hi Everyone,
I've been working on this for a few hours and have looked at all the css files. I have the header in place and everything is good, but can't get it centered.
All the tags say <center> align= and so on.
So I must be looking at the css file float right?
Theme x2T & lastest .16 download
Thanks

2
jmorris2
Re: Header align
  • 2007/4/22 2:32

  • jmorris2

  • Just popping in

  • Posts: 46

  • Since: 2007/4/17


If you are referring to the table headings, check the CSS definition for "th".
The lights are on... nobody's home

3
BlueStocking
Re: Header align

by dperk on 2007/4/21 21:25:38
_________________________________
other previous post fix

Same problem?

when I go to banners, there is a check box to use html.
I checked it and placed this code using my site address of course... It centers fine.

<p align="center"><img border="0" src="http://upnrunnin.hypermart.net/xoops01/images/banners/xoops_banner.gif"></p>


To center it to the page...
You will also need to remove the left logo.

Good Luck
BlueStocking
http://upnrunnin.hypermart.net/xoops01 <<practice page
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

4
dperk
Re: Header align
  • 2007/4/22 4:48

  • dperk

  • Just popping in

  • Posts: 25

  • Since: 2007/4/20


Hi All,
Thanks for the reply's. What I have is the XOOPS logo on the left side, I have moved the banner to the center table, in the postion of the 1st block. I have the dark blue background which is ok, but when I installed my logo, It's align="left" everything in the <table> on the theme.html is align="center". My logo want to go left.So I think I'm looking at another control point. The css "th" was not really helping me, if I was looking at the right one.
Thanks

5
BlueStocking
Re: Header align

If you leave your address we can look at the source code for a better understanding. I'm also in learning mode.

BlueStocking
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

6
dperk
Re: Header align
  • 2007/4/22 6:12

  • dperk

  • Just popping in

  • Posts: 25

  • Since: 2007/4/20


Hi, maybe this will help::
<!-- Start Header -->
<table cellspacing="0" cellpadding="0" width="100%" border="0" style="background-color : #2F5376; color: #ffffff">
<tr>
<td height="225" width="900" valign="middle" align="center" rowspan="2">
<a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>pla**.gif" alt="" /></a></td>
</tr>
</table>

<!-- End Header -->
<!-- Start Headerbar -->

using the x2T As you can see everything points to center so the mover must be in the css or another file.
Thanks

7
dperk
Re: Header align
  • 2007/4/22 20:46

  • dperk

  • Just popping in

  • Posts: 25

  • Since: 2007/4/20


Hi All,
Does anyone know where the file that controls the head logo, not banner would be found?
Thanks

8
skenow
Re: Header align
  • 2007/4/22 21:14

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


In the x2t theme, you have already identified what controls the header -

Quote:

dperk wrote:
Hi, maybe this will help::
<!-- Start Header -->
<
table cellspacing="0" cellpadding="0" width="100%" border="0" style="background-color : #2F5376; color: #ffffff">
  <
tr>
    <
td height="225" width="900" valign="middle" align="center" rowspan="2">
    [
color=ff0000]<a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>pla**.gif" alt="" /></a>[/color]</td>
</
tr>
</
table>

<!-- 
End Header -->
<!-- 
Start Headerbar -->


using the x2T As you can see everything points to center so the mover must be in the css or another file.
Thanks


You have also removed some other parts, but you are in the right place.

Have you cleared templates_c and updated from admin?

9
dperk
Re: Header align
  • 2007/4/22 23:58

  • dperk

  • Just popping in

  • Posts: 25

  • Since: 2007/4/20


Thanks for yor post.
I have look in and found the template in template_c for this file<table cellspacing="0" cellpadding="0" width="100%" border="0" style="background-color : #2F5376; color: #ffffff">
<tr>
<td height="225" width="900" valign="middle" align="center" rowspan="2">
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
"><center><img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
pl***.gif" alt=""</a></center></td>
</tr>
</table>

As you can see there are some <center> that I tried, this is from template_c remember! and I've tried to correct this using FTP and setting in the admin for changes on/off.
but I can't change the file because I don't own it.
and the only thing I think I've removed was the xoop support little blocks, the headerbar no changes.
Thanks,

Ps I been reading about clear template_c How is this done?
I'm really missing something or a term here!

Login

Who's Online

152 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 152


more...

Donat-O-Meter

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

Latest GitHub Commits