Zazzle Store Builder Customization Issue
mistyqe
Posted: Thursday, November 05, 2009 9:18:29 AM

Groups: Member

Joined: 10/29/2006
Posts: 4
Location: City of Angels
Hello Fellow Zazzlers,

I hope you can help me sort this out. I'm trying to setup Zazzle Store Builder on my own site and use the rss feeds to show off my gallery.. See link here..
http://www.mistyqe.com/mistyqe/test-mistyqe.php

But, no matter what I do, the products get displayed only in one column straight down. If I use just their page, http://www.mistyqe.com/mistyqe

it displays fine in a grid. Only when I try to incorporate it in my template, which has a sidebar, it shows up in on column. I tried everything to reducing the grid width and cell size in configuration.php, but to no avail.

Please please help.
Thank you ahead of time and Happy Zazzling.

www.zazzle.com/mistyqe*
doonidesigns
Posted: Thursday, November 05, 2009 11:17:17 AM
 Zazzle Proseller
Groups: ProSeller

Joined: 11/28/2003
Posts: 382
It is probably a conflict with your site's css and the storebuilder css.

Have you included this on your pages

<link id="ext_css" rel="stylesheet" type="text/css" href="css/zstore.css"/>
mistyqe
Posted: Thursday, November 05, 2009 11:21:46 AM

Groups: Member

Joined: 10/29/2006
Posts: 4
Location: City of Angels
Hello

Where exactly should I include that line?

This is my site css.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Mistyqe Designs - mistyqe.com</title>
<style type="text/css">
<!--
body {
background: #b9e0f7;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
}
.twoColLiqLtHdr #container {
width: 80%; /* this will create a container 90% of the browser width */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.twoColLiqLtHdr #header {
background: #DDDDDD;
padding: 0; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}
.twoColLiqLtHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 0px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

/* Tips for sidebar1:
1. since we are working in percentages, it's best not to use padding on the sidebar. It will be added to the width for standards compliant browsers creating an unknown actual width.
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColLiqLtHdr #sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/
.twoColLiqLtHdr #sidebar1 {
float: left;
width: 15%; /* since this element is floated, a width must be given */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 0; /* top and bottom padding create visual space within this div */
}
.twoColLiqLtHdr #sidebar1 h3, .twoColLiqLtHdr #sidebar1 p {
margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
margin-right: 10px;
}

/* Tips for mainContent:
1. the space between the mainContent and sidebar1 is created with the left margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 430px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
*/
.twoColLiqLtHdr #mainContent {
margin: 0 20px 0 20%; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
}
.twoColLiqLtHdr #footer {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
}
.twoColLiqLtHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
-->
</style><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]--></head>

<body class="twoColLiqLtHdr">

<div id="container">
<div id="header">
<h1><img src="images/mistyqeheader.jpg" width="1140" height="240" /></h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3>Browse by Category</h3>
<p>• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196266646699331494">Apparel - Men</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196369044764713008">Apparel - Women</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196881461106051838">Baby Birth Announcements</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196505464163881816">Binders</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196577742908530339">Humor</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196805225743973652">Leopard</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196444686765795911">Miscellaneous</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196711507734677979">Music</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196263866367957003">Patriotic</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196585549008228711">Seasonal</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196030676487272408">Star Signs ( Zodiac)</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196431707334829962">The ABC Collection</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196921741841804262">The Chuckle Collection</a><br />
• <a href="http://www.zazzle.com/mistyqe/gifts?cg=196117434454557373">The Graduates</a><br />
• <a href="http://www.zazzle.com/mistyqeweddings*">The Wedding Boutique </a></p>
<h3>Browse by Product Type</h3>
<p> • All Products<br />
• Binders<br />
• Invitations<br />
• Letterhead<br />
• Stationery<br />
• T-Shirts<br />
• Photo Cards<br />
• Flyers<br />
• Rack Cards<br />
• Postage<br />
• Cards<br />
• Mugs<br />
• Calendars<br />
• Business Cards<br />
• Keds Shoes<br />
• Pet Clothing<br />
• Aprons<br />
• Bags<br />
• Bumper Stickers<br />
• Buttons<br />
• Embroidered Bags<br />
• Embroidered Hats<br />
• Embroidered Shirts<br />
• Hats<br />
• Keychains<br />
• Magnets<br />
• Mousepads<br />
• Photo Sculptures<br />
• Postcards<br />
• Posters<br />
• Skateboards<br />
• Stickers<br />
• Ties</p>
<!-- end #sidebar1 --></div>
<div id="mainContent">

<?php

// configure Zazzle Store Builder display
include "include/zstore.php";

?>

<!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<p>Copyright mistyqe.com</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>
-------------------------------------------
mistyqe
Posted: Thursday, November 05, 2009 11:25:12 AM

Groups: Member

Joined: 10/29/2006
Posts: 4
Location: City of Angels
Hi Doonidesigns,

I added the line you mentioned but it completely messed up the layout. The grid is showing but at the bottom of the sidebar, not next to it.

http://www.mistyqe.com/mistyqe/test-mistyqe.php

Thanks,
Misty
doonidesigns
Posted: Thursday, November 05, 2009 11:26:42 AM
 Zazzle Proseller
Groups: ProSeller

Joined: 11/28/2003
Posts: 382
Hi,

It should go somewhere between < head>
and < / head>

(on every page that you create that will include the ZSB)

Hope that fixes your problem!
FishTsdotcom
Posted: Thursday, November 05, 2009 12:46:08 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 2/27/2008
Posts: 1,789
Location: Pascagoula
To maintain your existing css but be able to pull the store builder css for the grid layout add the before mentioned code just before this....



Code:
<?php

// configure Zazzle Store Builder display
include "include/zstore.php";

?>


So it ends up looking like this...
<link id="ext_css" rel="stylesheet" type="text/css" href="css/zstore.css"/>
Code:
<?php

// configure Zazzle Store Builder display
include "include/zstore.php";

?>


And where this is..
Code:
href="css/zstore.css"/
make it a full url to the css script.
For example... "http://www.ursite.com/urzsbcssfolder/zstore.css"

Bill






mistyqeholidays
Posted: Thursday, November 05, 2009 2:05:43 PM

Groups: Member

Joined: 8/8/2009
Posts: 1
Location: City of Angels
Dear FishTsdotcom,

We're getting closer. I added the line where you mentioned and I do see the grid. But it is still at the bottom of the sidebar and not beside it. So there's all this blank space on top.

Any ideas. I truly appreciate all the help.

thank you,
Misty
FishTsdotcom
Posted: Thursday, November 05, 2009 3:00:14 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 2/27/2008
Posts: 1,789
Location: Pascagoula
Usually when that happens you have accidently removed or moved an ending </div> statement that seperates the sections of the page.

I would look for that first before anything else. Hopefully you saved an original unedited copy of the files, right?

FishTsdotcom
Posted: Thursday, November 05, 2009 3:02:43 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 2/27/2008
Posts: 1,789
Location: Pascagoula
PS... just in case you didnt know, its only doing it in opera and firefox. So its definitly a template issue with the way the div's are layed out.


One of the main reasons I hate firefox. It does however check fine in two versions of IE.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Print this topic
RSS Feed
Normal
Threaded