New Zenner
- Join Date:
- Oct 2008
- Posts:
- 6
- Plugin Contributions:
- 0
Cherry Zen Template Support Thread
where i change the distance from top to the brower bar.
Views: 845,089
New Zenner
where i change the distance from top to the brower bar.
Totally Zenned
FoodDudes:
I have successfully uploaded a login to the side box but am having troubles with the appearance of the forms. Here is the script and the screen shot is attached. Any suggestions would be greatly appreciated.
<?php $content = "<!--loginSideBox-->"; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; if(!$_SESSION['customer_id']) { $content .=zen_draw_form('login_box', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); $content .=LOGIN_BOX_EMAIL_ADDRESS . '<br />' . zen_draw_input_field('email_address', '', 'size="24"').'<br />'; $content .=LOGIN_BOX_PASSWORD . '<br />' . zen_draw_password_field('password', '', 'size="24"') . '<br />'; $content .='<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . LOGIN_BOX_PASSWORD_FORGOTTEN . '</a>' . '<br />' . '<a href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') . '">' . LOGIN_BOX_CREATE_ACCOUNT . '</a>' . '<br />'; $content .= zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); $content .='<div class="centeredContent">'.zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT).'</div>'; $content .='</form>'; } else { $content .= '<ul>'; $content .= '<li><a class="loginBoxLinks" href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . LOGIN_BOX_ACCOUNT . '</a></li>'; $content .= '<li><a class="loginBoxLinks" href="' . zen_href_link(FILENAME_SHOPPING_CART, '', 'SSL') . '">' . LOGIN_BOX_SHOPPING_CART . '</a></li>'; $content .= '<li><a class="loginBoxLinks" href="' . zen_href_link(FILENAME_LOGOFF, '', 'SSL') . '">' . LOGIN_BOX_LOGOFF . '</a></li>'; $content .= '</ul>'; } $content .= '</div>'; ?>
Try changing the size="24" to lower numbers.
Totally Zenned
sunny112233:
where i change the distance from top to the brower bar.
in stylesheet.css , this section (change the margin-top)
body {
font-family: "Lucida Grande", tahoma, verdana, arial, helvetica, sans-serif;
font-size:73.5%;
margin-top:20px;
}
Totally Zenned
newkernel:
Thanks jetture.
It's work!But the back color of the sidebox still show in the homepage.If I change the color to white,the box shape will lose.
I was puzzled how to do it.Please help me!:no:
#indexHomeBody #logoWrapper, #indexHomeBody #navColumnOne, #indexHomeBody #navColumnTwo, #indexHomeBody #navCatTabsWrapper, #indexHomeBody #navEZPagesTop {display:none;}
#indexHomeBody .outer, #indexHomeBody #content {padding:0 0 0 1em!important;}
#indexHomeBody #contentMainWrapper {
background:none;
background-color:#fff; /*background color for the main "content" of the site */
}
#indexHomeBody #contentMainWrapperb {
background: none;}
}
To get rid of the shadow on the home page only:
#indexHomeBody #nw, #indexHomeBody #ne, #indexHomeBody #se, #indexHomeBody #sw, #indexHomeBody #n, #indexHomeBody #s, #indexHomeBody #w, #indexHomeBody #e {background:none;}
Totally Zenned
frank18:
Hi Jade (and all),
discovered this problem yesterday:
When displaying the description of the products Active 2.1, Active 2.2 and Active 2.3 the LH sidebox appears below the actual description of the products.
This does not happen on any of the other 250 something products I currently have on offer.
I have tried to enter new content for the descriptions - same result.
The other products in the category "Active Elements" are displayed OK with LH sidebox as normal. So, there is nothing wrong with any formatting of the actual category.
The other weird thing is that on the product Active 2.4 all links in the sideboxes are bold. This is not really worrying but it is inconsistent and may leave the wrong impression about the store with some customers.
Please take a look at
http://frnt.org/zencart/index.php?main_page=product_info&cPath=42&products_id=189
and then click the NEXT button to see the appearance of the remaining products in this category.
Can you shed a light on this please?
If nothing materializes then I am planning to just delete the products and re-enter them. Would not solve the mystery but would probably fix the problem ....
Thanks / Frank
https://www.frnt.org/zencart
Are you still having the left side issue? I notice that some of the products you have the text justified, and some you do not. As for the bold sideboxes, its because you didn't close the tags for some bold text. Check your text for errors.
New Zenner
jettrue:
#indexHomeBody #logoWrapper, #indexHomeBody #navColumnOne, #indexHomeBody #navColumnTwo, #indexHomeBody #navCatTabsWrapper, #indexHomeBody #navEZPagesTop {display:none;}
#indexHomeBody .outer, #indexHomeBody #content {padding:0 0 0 1em!important;}
#indexHomeBody #contentMainWrapper {
background:none;
background-color:#fff; /*background color for the main "content" of the site */
}
#indexHomeBody #contentMainWrapperb {
background: none;}
}
>
> To get rid of the shadow on the home page only:
> ```
#indexHomeBody #nw, #indexHomeBody #ne, #indexHomeBody #se, #indexHomeBody #sw, #indexHomeBody #n, #indexHomeBody #s, #indexHomeBody #w, #indexHomeBody #e {background:none;}
:clap::clap:Thanks jade,I almost finish my job by your help.:smartalec::laugh:
Totally Zenned
darktowerhobbies:
ok I have removed the text in the banner window on the top of the page by reading the readme first or else. The trouble is now it only displayes where the image is not the image. I have moved the image to different directories and still nothing.
Should define('HEADER_SALES_TEXT', be replaced with something else since it is no longer text but an image.
I have read other similar posts in here and seem to be having same trouble.
the site is here
Thanks in advance
You can't just put the name of the image, since it is a spot for text. You have to first tell it that it is an image, and then what directory it is in. For example, if you put the image in includes/templates/YOUR_TEMPLATE/images/, put this:
define('HEADER_SALES_TEXT', '<img src="includes/templates/YOUR_TEMPLATE/images/banner.gif" alt="" width="" height="" />');
New Zenner
First of all congratulations on producing a really nice clean modern looking template.
It's going to be perfect for my site !
Thank you for being so generous in sharing and supporting it :hug:
I think I may have found a little bug though. :shocking:
When I have a gift certificate enabled for a user and it is in the shopping cart. It appears to be too wide for the box and hangs out the side.
I have not been able to reproduce it on your site as I can't buy a gift certificate.
Keep up the great work !
Totally Zenned
fireant:
First of all congratulations on producing a really nice clean modern looking template.
It's going to be perfect for my site !
Thank you for being so generous in sharing and supporting it :hug:I think I may have found a little bug though. :shocking:
When I have a gift certificate enabled for a user and it is in the shopping cart. It appears to be too wide for the box and hangs out the side.
I have not been able to reproduce it on your site as I can't buy a gift certificate.
Keep up the great work !
Could I see a link or an image? Can you adjust the text (is the text too wide)?
New Zenner
Site is locked down at the moment .. I don't want people visiting till it's ready but you can see a screen shot here.
http://i476.photobucket.com/albums/rr126/bugplug/Capture.jpg
Thanks for looking :smile:
Edit: I made a login for you ... sending you details in PM
New Zenner
Make that an email .. your too popular your PM box is full !
Totally Zenned
fireant:
Site is locked down at the moment .. I don't want people visiting till it's ready but you can see a screen shot here.
http://i476.photobucket.com/albums/rr126/bugplug/Capture.jpg
Thanks for looking :smile:
Edit: I made a login for you ... sending you details in PM
I uploaded a smaller button for you, and then you can add this to your stylesheet as well to get rid of the margin and padding for that specific sidebox:
#shoppingcartContent {margin:0!important;padding:0!important;}
Deceased
Thanks for the reply Jade
jettrue:
Are you still having the left side issue? I notice that some of the products you have the text justified, and some you do not. As for the bold sideboxes, its because you didn't close the tags for some bold text. Check your text for errors.
Checked the text for the closing tag for bold text. Done and dusted.
As for the products Active 2.1, Active 2.2 and Active 2.3 removed the justified text and BINGO - the LH sidebox appears ok.
I still don't understand the reason behind the mystery as all products in the category "Blackmores" are displayed with justified text. Same goes for other categories - and most of the EZ pages. Yet, there is no problem with the LH sidebox.
Might have a DB issue ??!!
Thanks again for taking the time to look at this.
Frank
New Zenner
jettrue:
I uploaded a smaller button for you, and then you can add this to your stylesheet as well to get rid of the margin and padding for that specific sidebox:
Thanks heaps Jade !
Just curious is it a bug or just my site that's a little "non standard" ?
New Zenner
jettrue:
You can't just put the name of the image, since it is a spot for text. You have to first tell it that it is an image, and then what directory it is in. For example, if you put the image in includes/templates/YOUR_TEMPLATE/images/, put this:
define('HEADER_SALES_TEXT', '<img src="includes/templates/YOUR_TEMPLATE/images/banner.gif" alt="" width="" height="" />');
Ok I did exactly what you said I canged the your_template to cherry_zen and now the word is gone but I still have no banner image. What am I doing wrong this cant be that hard.
New Zenner
darktowerhobbies:
Ok I did exactly what you said I canged the your_template to cherry_zen and now the word is gone but I still have no banner image. What am I doing wrong this cant be that hard.
Never mind got that fixed but how do I center the banner and get rid of the little red x where the logo used to be?
Totally Zenned
darktowerhobbies:
Never mind got that fixed but how do I center the banner and get rid of the little red x where the logo used to be?
Why not just make that image your logo.gif?
If you want the logo removed, open up includes/templates/YOUR_TEMPLATE/common/tpl_header.php and remove the logo chunk.
New Zenner
hi,jettrue.Thanks for your help before.I got a problem again.There are 6 kind of link in the head page ,"
Home| News| New Products| Featured Products| Specials|Register ",
when I install the template.I want to change this link to my categories,and the head page will like this:
"HOME| A | B | C |".
"ABC" is product categories.
Thanks for helping.:flex::clap:
New Zenner
One more question.Configuration Section/Layout Settings/Categories menu labels on / off,i set it on.I don't know how to change the background color of the categories menu.Please help .:hug::laugh:
New Zenner
I don't use product images on my site. I have created a 1px x 1px image and commented out the drop shadow in stylesheet.css, how do i remove the 'larger image' link?
Fields marked required must be completed.
Tell staff why this post should be reviewed.