mh2design Forums

Themes => Themes General => Topic started by: Rorie on December 23, 2009, 12:04:09 AM



Title: Need help with modfying theme
Post by: Rorie on December 23, 2009, 12:04:09 AM
http://dosvault.rorboy1983.com/index.php (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 


Title: Re: Need help with modfying theme
Post by: Mick 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;"


Title: Re: Need help with modfying theme
Post by: Rorie 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?


Title: Re: Need help with modfying theme
Post by: Mick 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%">


Title: Re: Need help with modfying theme
Post by: Rorie 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?


Title: Re: Need help with modfying theme
Post by: Mick 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>


Title: Re: Need help with modfying theme
Post by: Rorie 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


Title: Re: Need help with modfying theme
Post by: Mick 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.


Title: Re: Need help with modfying theme
Post by: Rorie 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 


Title: Re: Need help with modfying theme
Post by: Rorie 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


Title: Re: Need help with modfying theme
Post by: Mick 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.


Title: Re: Need help with modfying theme
Post by: Rorie 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


Title: Re: Need help with modfying theme
Post by: Mick on January 14, 2010, 01:37:59 AM
Good solution :)