Forums / Templates, Stylesheets, Page Layout / Distance between Images in "New Products of the Month"

Distance between Images in "New Products of the Month"

Locked

Started by vinnieb on 20 Aug 2006, 5:17 PM · Views: 2,820

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
20 Aug 2006, 5:17 PM
#1
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Distance between Images in "New Products of the Month"

Hey everybody and anybody. Im trying to do some changes in the NEW PRODUCTS OF THE MONTH SECTION on my main page.

First, i would like to change "New products of the Month" to "New STUFF of the Month". How do i do that?

Second, The distance (Horizontally and Vertically) between the images in this section are too much, how can i shorten them and bring the images closer together?

Thanx

20 Aug 2006, 7:33 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Distance between Images in "New Products of the Month"

Post your url...

Zen-Venom Get Bitten

21 Aug 2006, 2:04 AM
#3
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

24 Aug 2006, 6:33 AM
#4
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

Did you figure this out? I am having the same problem.

Thanks!

Danielle

24 Aug 2006, 6:37 AM
#5
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

Nevermind, I got it :) If you need to know, find this in your stylesheet:

/list box contents/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
margin: 0.1em;
}

And just change it to this:

/list box contents/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured {
margin: 0.1em;
}

Danielle

24 Aug 2006, 2:34 PM
#6
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

I Just tried to find this section in my stylesheet but i don't have it. Are u sure its in the template stylesheet?

24 Aug 2006, 3:10 PM
#7
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

What version of Zen are you using? I am using 1.3.0.2 and this is in my custom stylesheet which is a copy of the stylesheet.css in the template_default folder.

Danielle

27 Aug 2006, 5:44 PM
#8
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

I was using an older version. But i just downloaded 1.3.0.2 and i did find that section of text in the new stylesheet. Once i have set up everything i will try what u just suggested and get back to u. Until then....

29 Aug 2006, 6:24 PM
#9
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

Ok, i've got the latest version being 1.3.0.2........im having alot of trouble with this new stylesheet. I removed all the sideboxes on the right side. Now i wanna stretch (increase the width) of the "Product of the Month" to overlap. I was able to do it on the older version but can't seem to find the coding on the newer version.

VinnieB

1 Sep 2006, 12:52 AM
#10
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

Ok, nevermind, don't bother answering.....if anyone was going too anyways. I found the solution.........Let me post it so everyone can see.

What i was trying to do was remove all the sideboxes from the right side of the screen, and stretch the center content all the way to the right side of the screen while keeping all the images and content properly aligned. First i de-activated all the boxes on the right side in the ADMIN section....

Then i went into my web page directory......to INCLUDES/TEMPLATES/TEMPLATE_DEFAULT/COMMON/tpl_main_page.php. Use the same folder for Classic Templates as well. Around line 72 or so u should see the following......

  • prepares and displays header output

*/
require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>

<table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">

Were it says width = "100%".........thats were u can stretch the center content out. You'll have to try different widths depending on the overall size of your page. This will also keep your content and images properly aligned as well.

1 Sep 2006, 1:07 AM
#11
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,723
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

Wouldn't it be easier to turn the right column off from the Admin and not have to mess with the code?

Admin> Configuration> Layout Settings

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

1 Sep 2006, 6:47 AM
#12
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

I wrote in my previous message that "I DID" turn off all the sideboxes on the right side in the ADMIN section. But i still had to stretch out the center page to the end of the page, or else there would just be a big empty space.

VinnieB

1 Sep 2006, 6:59 AM
#13
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

Please look at settings for the columns.

=> Admin
==> Layout Setting

Column Left Status - Global 1

Column Left Status - Global
Show Column Left, unless page override exists?
0= Column Left is always off
1= Column Left is on, unless page override

Column Right Status - Global 1

Column Right Status - Global
Show Column Right, unless page override exists?
0= Column Right is always off
1= Column Right is on, unless page override

May be spend some time to make friend with the admin settings will save you times later on. :smile:

A New Starter again

12 Sep 2006, 3:21 PM
#14
vinnieb avatar

vinnieb

New Zenner

Join Date:
Aug 2006
Location:
toronto, ontario, canada
Posts:
12
Plugin Contributions:
0

Re: Distance between Images in "New Products of the Month"

Thanx, I do apprecitate everyone who helped me out. I did get it done in the Admin settings (Layout Settings section). Thanx again.