Forums / Addon Templates / Lavender Template Support Thread

Lavender Template Support Thread

Views: 81,373

Results 221 to 240 of 263
23 Jul 2009, 10:46 AM
#221
cruzin avatar

cruzin

New Zenner

Join Date:
Dec 2008
Posts:
2
Plugin Contributions:
0

Lavender Template Support Thread

Okay. . .I searched and found out how to save as a .css document. Thanks to Schoolboy, I now have Crimson Editor and was able to save my file as a .css document.

I still have not achieved my goal of replacing the Lavender Template logo with my own.

Thanks, again!
Gloria

24 Jul 2009, 10:08 PM
#222
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Lavender Template Support Thread

cruzin:

Okay. . .I searched and found out how to save as a .css document. Thanks to Schoolboy, I now have Crimson Editor and was able to save my file as a .css document.

I still have not achieved my goal of replacing the Lavender Template logo with my own.

Thanks, again!
Gloria

See Post 207 and forward above.

If you open the page in a browser and then it save to your hard drive, all the images for the page should be saved in the *_files file, where * is whatever name you gave to the saved page. Find these images within your ZC file directory and replace with your own. Voila!

FWIW Peachpit Press have published two excellent books on CSS and HTML.

14 Aug 2009, 8:23 AM
#223
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

Hi there

Love the theme but would like to remove the right hand side lavender column (so all navigation etc is left and bottom making is a 2 column instead of 3 layout).

Is there a way of doing this and if so, how?

Many thanks and a great theme.

21 Aug 2009, 7:06 AM
#224
kobra avatar

kobra

Black Belt

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

Re: Lavender Template Support Thread

andoverit:

Love the theme but would like to remove the right hand side lavender column (so all navigation etc is left and bottom making is a 2 column instead of 3 layout).
admin > config > layout settings > right column global > set to off

Zen-Venom Get Bitten

28 Aug 2009, 5:34 PM
#225
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

Thanks Kobra - that worked for the subsequent pages with the products but I can't get rid of if on the home page.

Any suggestions?

30 Aug 2009, 7:04 PM
#226
kobra avatar

kobra

Black Belt

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

Re: Lavender Template Support Thread

andoverit:

that worked for the subsequent pages with the products but I can't get rid of if on the home page.
Your view source for any page shows:

<td id="navColumnTwo" class="columnRight" style="width: 150px">
<div id="navColumnTwoWrapper" style="width: 150px"></div></td>

Are you sure that you turned off the right gloabally?

Zen-Venom Get Bitten

1 Sep 2009, 2:03 AM
#227
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

Hi there

Yes set as follows:

Admin > Configuration > Layout Settings >
Column Right Status - Global = 0

I've now also set:
Column Width - Right = 0px

Any suggestions where to amend it? I'm happy to have a go at the coding if that will work.

Thanks

1 Sep 2009, 8:38 AM
#228
kobra avatar

kobra

Black Belt

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

Re: Lavender Template Support Thread

andoverit,

It is now looking correct as your source does not show the right column

Zen-Venom Get Bitten

1 Sep 2009, 9:43 AM
#229
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

Thanks Kobra - you're a star! Working well now.

8 Sep 2009, 8:18 PM
#230
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

I'd like to switch off the small sub-category image that appears at the top of each product listing page but leave the main one in as am using for navigation.

Any suggestions? It's the small 27x40px image that appaers under the sub-category name.

Thanks

8 Sep 2009, 8:45 PM
#231
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

Funny how you can look for ages, and then as soon as you post a question you find it :o)

I found the following worked okay for me:

includes>templates>template_default>templates>tpl_index_products_list.php

Find:

<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>

Amend to:

<!-- includes>templates>template_default>templates>tpl_index_products_list.php <div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div> -->
9 Sep 2009, 9:10 AM
#232
kobra avatar

kobra

Black Belt

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

Re: Lavender Template Support Thread

andoverit:

Funny how you can look for ages, and then as soon as you post a question you find it :o)

I found the following worked okay for me:

includes>templates>template_default>templates>tpl_index_products_list.php
Hopefully you are not editing the core files in template_default!!
A copy should be saved to

includes>templates>lavender>templates>tpl_index_products_list.php

https://www.zen-cart.com/tutorials/index.php?article=230
https://www.zen-cart.com/tutorials/index.php?article=143
https://www.zen-cart.com/tutorials/index.php?article=36

Zen-Venom Get Bitten

22 Sep 2009, 10:06 AM
#233
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

Am having a big problem moving the site from the test site to the live one. As far as I can see I have done all I should have:

  1. Installed a clean version of ZenCart on the NEW site
  2. Moved the files from the OLD site to the NEW site except the 2 configure.php files
  3. Imported the database from the OLD site to the NEW site

It doesn't look right though. Any suggestions?

I also need to go through the links in the dscriptions and update them from the old site (http://www.olddomain.com/testshop) to the new one (http://www.newdomain.com). Apart from manually going through, any ideas?

Thanks Kobra

22 Sep 2009, 12:43 PM
#234
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: Lavender Template Support Thread

Sods Law - looks like it's sorted now. Will post exactly how I did for future reference for others later.

4 May 2010, 11:22 AM
#235
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Lavender Template Support Thread

Hi Kobra

I thought I would post this Footer Always At Bottom Of Screen code here first as it was built using your??? Lavender template and is based on the three column fluid design design of pmob.

Please note that while this works for me, I cannot really explain how it works, or why it may fail for others.

The following is the skeletal framework of
\includes\templates\your_template\common\tpl_main_page.php.
The key elements are the divs and their order of placement.

<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

<!-- bof header -->
<!-- eof header -->

<div id="mainWrapper">
<div id="clearheader"><!-- to clear header --></div>

<div id="contentMainWrapper">

<!-- bof navColumnOne -->
<div id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
<div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div>
</div>
<!-- eof navColumnOne -->

<!-- bof navColumnTwo -->
<div id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
<div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div>
</div>
<!-- end navColumnTwo -->

<!-- bof  center content -->
<!-- eof  center content  -->

</div><!-- end contentMainWrapper -->

<div id="clearfooter"><!-- to clear footer --></div>

</div><!-- end mainWrapper -->

<!-- bof footerWrapper -->
<div id="footerWrapper">
</div><!-- eof footerWrapper -->

</body>

The following is the key ingredient of
\includes\templates\your_template\css\stylesheet.css

html, body {
	height: 100%;
	max-width: 1300px;
	margin:0 auto;
	}

* html {height:100%;}

body {
	margin: 0;
	padding: 0;
	border: 0;
	}

#mainWrapper {
	position:relative;
	min-height: 100%;
	margin-left:20%; /* adjustable */
	margin-right:20%; /* adjustable */
	}

* html #mainwrapper { height:100%;} /* for mozilla as IE treats height as min-height anyway */

#clearheader { /* needed to make room for headerWrapper */
	height:140px;
	}

#headerWrapper {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:140px; /* same as clearHeader height */
	}

/* mac hide \*/
* html #headerWrapper {height: 140px; he\ight: 1px} /* height needed for ie to force layout*/
/* end hide */

#contentMainWrapper {
	position:relative;
	width: 100%;
	margin: 0 auto;
	}

.centerColumn { 
	width: auto;
	padding: 0 1em;
	}

/* mac hide\ */
* html #centerColumn {height:1%;} /* combat IE's 3 pixel jog */
/* end hide */

#navColumnOne {
	position:relative; /* ie needs this to show float */
	float:left;
	margin-left:-27%; /*  note negative sign, value same or slightly larger than Layout Settings COLUMN_WIDTH_LEFT */
	margin-right:1px; /* makes element 1px smaller than width otherwise won't push footer down */
	}

#navColumnTwo {
	position:relative; /* ie needs this to show float */
	float:right;
	margin-right:-27%; /* note negative sign, value same or slightly larger than Layout Settings COLUMN_WIDTH_RIGHT*/
	margin-left:1px; /* makes element 1px smaller than width otherwise won't push footer down */

	}

#navColumnOneWrapper {
	margin: 0 auto; /* required */
	}

#navColumnTwoWrapper {
	margin: 0 auto; /* required */
	}

#clearfooter { /* needed to make room for footer */
	clear:both;
	height:130px; /* height of footer */
	}

#footerWrapper {
	clear: both;
	position: relative;
	bottom: 0px;
	height: 130px;   /* Height of the footer */
	margin-top: -130px; /* negative value drags footer back into page */
	width: 100%;
	}

* html #footerWrapper { /* only ie gets this style */
	\height:130px; /* for ie5 */
	he\ight:128px; /* for ie6 */
	}

Admin > Configuration > Layout Settings

Column Width - Left Boxes  	96%
Column Width - Right Boxes 	96%

Column Width - Left  	25%
Column Width - Right 	25%

Enjoy.

15 Jun 2010, 3:55 PM
#236
budgee_bare avatar

budgee_bare

New Zenner

Join Date:
Oct 2009
Posts:
6
Plugin Contributions:
0

Re: Lavender Template Support Thread

Hello from The Great Smokey Mountains of East Tennessee. USA

My wife and I have a website called Groove-eMart,Com. We are using Zen Cart Ver. 1.3.9b and we are trying to use the lavender template.

The Template is great, but we are having 2 problems.

  1. We can not get the logo.gif to scan the full width of the screen.
    I think this may have to do with the fact that I have the #mainWrapper width set to 100%. I don't like the narrow width of the default template. I have logo.gif set to 150 px high and 1000 px wide.

Yes! I have searched the FAQ's and this Thread for the answer. But I am still confused. :dontgetit

2 The second problem we are having is the purple bar just below the area were the categories go. The light purple bar that divides the header from the side boxes. We want the font in this bar to be white. How can I change that? Black on Purple is hard to read. I'm sure we need to change the css file to do that, but which line?

You can get to our website athttp://www.groove-emart.com

And while you are there please look around and see if you can offer us any other suggestions on how we can improve this website.

Thank You in advance
Budgee Bare

Happy shopping!

15 Jun 2010, 6:11 PM
#237
kobra avatar

kobra

Black Belt

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

Re: Lavender Template Support Thread

Budgee Bare:

We can not get the logo.gif to scan the full width of the screen.
I think this may have to do with the fact that I have the #mainWrapper width set to 100%. I don't like the narrow width of the default template. I have logo.gif set to 150 px high and 1000 px wide.
The template as delivered has the mainWrapper set to 100% so as to be a "Fluid" layout
You can optionally set it to be the same as your image - 1000px

OR this might assist by adding this line to the #logo div
Try it and see

#logo {
	margin: 0em;
        background-color: #ffffff;
/*	float: left; */
	text-align: center;
	padding-top: 0px;
	}

Zen-Venom Get Bitten

18 Jul 2010, 1:35 AM
#238
fei2010 avatar

fei2010

New Zenner

Join Date:
Jun 2010
Posts:
56
Plugin Contributions:
0

Re: Lavender Template Support Thread

I like this great template!

I am trying to make some changes on the product listing page. By default layout, there is no line separate each product, it is kind of crowd. How can I set a line to separate them? this same apply to search result page too.

thanks.

26 Jul 2010, 8:53 PM
#239
kobra avatar

kobra

Black Belt

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

Re: Lavender Template Support Thread

Need a link to your site....

Inset ONE space to beak link as in

http: //www.zen-cart.com/

Zen-Venom Get Bitten

11 Sep 2010, 4:25 PM
#240
fei2010 avatar

fei2010

New Zenner

Join Date:
Jun 2010
Posts:
56
Plugin Contributions:
0

Re: Lavender Template Support Thread

need some help to make minor css changes:

1). the link to "home" in the top left corner, I want to change the color of the font when user mouse hoover over it, which css class do I need to change?

2). in the product page, there are three buttons: Previous, Product Listing, Next. how can I make it change the font color when user mouse hoover over the button?

Thanks!