Forums / Templates, Stylesheets, Page Layout / Each sidebox to show a custom look?

Each sidebox to show a custom look?

Locked

Views: 1,543

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
17 Jul 2006, 11:36 PM
#1
taxidermy_smile avatar

taxidermy_smile

New Zenner

Join Date:
Jun 2005
Location:
KY - USA
Posts:
23
Plugin Contributions:
0

Each sidebox to show a custom look?

Is this correct to get each sidebox to show a custom sidebox header and footer images?

TR.newcustomsideboxleftboxheading, TR.newcustomsideboxrightboxheading, TR.newcustomsideboxcenterboxheading, TR.newcustomsideboxsingleboxheading {
  background: #ffffff;
  background-image: url(../images/customsidebox_header.jpg);
}

.newcustomsideboxleftboxcontent, .newcustomsideboxrightboxcontent, .newcustomsideboxcenterboxcontent, .newcustomsideboxsingleboxcontent {
  line-height: 125%;
  padding: 4px;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.newcustomsideboxleftboxfooter, .newcustomsideboxrightboxfooter, .newcustomsideboxcenterboxfooter, .newcustomsideboxsingleboxfooter {
  background-color: #ffffff;
  background-image: url(../images/customsidebox_footer.jpg);
  margin-bottom: 15px;
}


[b]Then in english.php[/b]

change:
// categories box text in sideboxes/categories.php
define('BOX_HEADING_CATEGORIES', 'Categories');

to:
// categories box text in sideboxes/categories.php
define('BOX_HEADING_CATEGORIES', '');

sidebox example


header image

categories

footer image

Thanks

running: Zen Cart V1.3.0.7

19 Jul 2006, 10:34 PM
#2
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Re: Each sidebox to show a custom look?

Have you tried it?

20 Jul 2006, 12:13 AM
#3
taxidermy_smile avatar

taxidermy_smile

New Zenner

Join Date:
Jun 2005
Location:
KY - USA
Posts:
23
Plugin Contributions:
0

Re: Each sidebox to show a custom look?

onisama,

No, I wanted to know ahead of time from someone that successfully added this custom sidebox format to their site.

I don't want to muck my site up, by just hacking code here and there.

running: Zen Cart V1.3.0.7

20 Jul 2006, 3:15 AM
#4
onisama avatar

onisama

New Zenner

Join Date:
Dec 2005
Posts:
60
Plugin Contributions:
0

Re: Each sidebox to show a custom look?

You can change you english.php file quite easily. You can always back it up and replace it later if need be. You can also edit the CSS with Firefox and the web developer's tool w/out actually changing the CSS file (its only a preview).

I've made several large adjustments, both good and bad, to a live site. I just try to chose times when no guests are online.

I've not tried what your attempting myself. I just thought you might have tried already.

20 Jul 2006, 4:10 PM
#5
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Each sidebox to show a custom look?

Look at this thread :
http://www.zen-cart.com/forum/showthread.php?t=41406

I posted my solution and Kuroi posted his there. Hopefully from both of our examples you will achieve what you are looking for :)

When the world gets in my face I say Have A Nice Day.

20 Jul 2006, 5:08 PM
#6
taxidermy_smile avatar

taxidermy_smile

New Zenner

Join Date:
Jun 2005
Location:
KY - USA
Posts:
23
Plugin Contributions:
0

Re: Each sidebox to show a custom look?

onisama,

Thanks for the reply.


TinaS,

I'll give your example a go, it looks like what I needed.

Now, I'm off to create some images for the boxes.

Thanks

running: Zen Cart V1.3.0.7

20 Jul 2006, 5:12 PM
#7
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Each sidebox to show a custom look?

Hope it works for ya :)

That was one of the best templates I made IMHO :)

When the world gets in my face I say Have A Nice Day.