Need help with modfying theme
News:
 
  • Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
  Print  
Author Topic: Need help with modfying theme  (Read 4790 times)
Rorie
Guest
« on: December 23, 2009, 12:04:09 AM »

http://dosvault.rorboy1983.com/index.php

as you can see when you click the link above. there are grey
patches on the left & right sides. i wish to remove these so that
the white background fills those in by stretching the template
the mambo foundation is not much help all they ever say is that
if you are not happy or cannot get a template to the way you
like it go & find a new one. i like the one i have all i am asking
for is a little help from someone. can anyone help me with fixing
this or maby even do it for me? it will be greatly appreciated

thanx
rorie 
Logged
Mick
Administrator
Hero Member
*****
Posts: 503



View Profile Email
« Reply #1 on: December 24, 2009, 08:02:41 AM »

Not a problem. 

In your CSS file (bubble/css/template_css.css),  there is a #page_bg area (Line 6) that looks like this:

Code:
#page_bg {
height: 100%;
background: #999999;
padding: 0;
margin-bottom: 1px;
}

You can do one of two things with that, remove the "background: #999999;" line or change it to "background: #fff;"
Logged
Rorie
Guest
« Reply #2 on: December 24, 2009, 10:05:32 PM »

Not a problem. 

In your CSS file (bubble/css/template_css.css),  there is a #page_bg area (Line 6) that looks like this:

Code:
#page_bg {
height: 100%;
background: #999999;
padding: 0;
margin-bottom: 1px;
}

You can do one of two things with that, remove the "background: #999999;" line or change it to "background: #fff;"

thanx that removed the background now i want the layout
right centered to be stretched from the right to the left can
you also assist me with that?
Logged
Mick
Administrator
Hero Member
*****
Posts: 503



View Profile Email
« Reply #3 on: December 26, 2009, 03:39:59 PM »

If I understand you correctly, you want the site to be a fluid design.  If so, then you need to load up your index.php from the template directory and search for the statement:

Code:
<table id="main" class="minimal" width="809">

Change it to:

Code:
<table id="main" class="minimal" width="100%">
Logged
Rorie
Guest
« Reply #4 on: December 26, 2009, 05:57:13 PM »

If I understand you correctly, you want the site to be a fluid design.  If so, then you need to load up your index.php from the template directory and search for the statement:

Code:
<table id="main" class="minimal" width="809">

Change it to:

Code:
<table id="main" class="minimal" width="100%">

ok i did that & expermented some more. i have the layout in
the position where i want it but the only problem is now that
is the td_bottom image in my css template i want to it on the
far right & i do not know how?

here is the code for td_bottom

td.bottom {
  text-align: center;
  height: 30px;
  color: #999999;
  line-height: 30px;
  vertical-align: top;
  background: url(../images/bottom_bg.png) repeat-x;
}

what do i need to modify?
Logged
Mick
Administrator
Hero Member
*****
Posts: 503



View Profile Email
« Reply #5 on: December 27, 2009, 07:39:34 AM »

Looks like it is in your index.php

Hint about using tables:

Each row's (tr)  data cell (td) count need to match up throughout the table:

Good:
Code:
<table>
  <tr>
    <td>...</td>
    <td>...</td>
    <td>...</td>
  </tr>
  <tr>
    <td>...</td>
    <td>...</td>
    <td>...</td>
  </tr>
</table>

Bad:
Code:
<table>
  <tr>
    <td>...</td>
    <td>...</td>
    <td>...</td>
  </tr>
  <tr>
    <td>...</td>
    <td>...</td>
  </tr>
</table>
Logged
Rorie
Guest
« Reply #6 on: December 27, 2009, 08:54:10 PM »

Looks like it is in your index.php

Hint about using tables:

Each row's (tr)  data cell (td) count need to match up throughout the table:

Good:
Code:
<table>
  <tr>
    <td>...</td>
    <td>...</td>
    <td>...</td>
  </tr>
  <tr>
    <td>...</td>
    <td>...</td>
    <td>...</td>
  </tr>
</table>

Bad:
Code:
<table>
  <tr>
    <td>...</td>
    <td>...</td>
    <td>...</td>
  </tr>
  <tr>
    <td>...</td>
    <td>...</td>
  </tr>
</table>

been through my index.php & cannot find any of that. can you
take a look for me? i have included the index.php file i have been
working on
Logged
Mick
Administrator
Hero Member
*****
Posts: 503



View Profile Email
« Reply #7 on: December 28, 2009, 10:20:07 AM »

As stated, you need to even up the TDs.
The issue with the file that you sent is that it is a jacked up index.  There should be no reason to hide the code in 74 iterations of eval, gzinflate, str_rot13 and base64_decode functions unless there is something to hide.  I decrypted it and posted it back up here.  Line 84 is the one that you need to get rid of.
Logged
Rorie
Guest
« Reply #8 on: December 28, 2009, 07:06:06 PM »

As stated, you need to even up the TDs.
The issue with the file that you sent is that it is a jacked up index.  There should be no reason to hide the code in 74 iterations of eval, gzinflate, str_rot13 and base64_decode functions unless there is something to hide.  I decrypted it and posted it back up here.  Line 84 is the one that you need to get rid of.


thanx mick i took your advice. did some experimenting with the
code & now have a layout i am happy with. thank you once
again 
Logged
Rorie
Guest
« Reply #9 on: January 11, 2010, 05:53:36 PM »

Mick you know how you decoded the index.php for one of my
other sites. i wish to modify the index.php for my main home
page but b4 i can do any work i need it to be decoded.
can you please also decode the
file that i have attached to this post?

thanx
Logged
Mick
Administrator
Hero Member
*****
Posts: 503



View Profile Email
« Reply #10 on: January 11, 2010, 07:25:19 PM »

It's probably the same as the other one that I already did.

I think it is probably time to find a different base template to work with.  I just don't have the time to decode/recode the files for you.

My apologies.
Logged
Rorie
Guest
« Reply #11 on: January 13, 2010, 11:46:04 PM »

It's probably the same as the other one that I already did.

I think it is probably time to find a different base template to work with.  I just don't have the time to decode/recode the files for you.

My apologies.

no sweat! i just used the bubble template for both sites & they
exactly do what i want them to do. didn't have even to recode
/decode them
Logged
Mick
Administrator
Hero Member
*****
Posts: 503



View Profile Email
« Reply #12 on: January 14, 2010, 01:37:59 AM »

Good solution Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Main Menu
Home
Forum
MH2 Projects
MH2 Downloads
Donate to MH2
Link to MH2
MH2 Member Directory
MH2 Login
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 08, 2012, 05:55:16 PM
Username: Password:
Login with username, password and session length

Forgot your password?
MH2 Releases
Nov.10
Downloads
FileFull Source - Members Directory
Nov.10
Downloads
FileFull Source - MH2 Shoutbox
Nov.10
Downloads
FileFull Source - MH2 Teamspeak
Nov.10
Downloads
FileFull Source - MH2 Ventrilo
Nov.10
Downloads
FileFull Source - MH2 Treasury