If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Templates / Nifty Zen Template - Rounded Corners without images!

Nifty Zen Template - Rounded Corners without images!

Locked

Started by jettrue on 6 Sep 2006, 6:11 PM · Views: 82,574

Results 181 to 200 of 231
This thread is locked. New replies are disabled.
20 Aug 2008, 10:12 PM
#182
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

the easies way to do that is to make images

https://www.gorillagear.ca = zencart v1.3.9h with 40+ mods

30 Aug 2008, 2:30 PM
#183
brettb76 avatar

brettb76

New Zenner

Join Date:
Jul 2008
Posts:
14
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

I am hoping for a an idea as I am currently stuck.

I want to center the logo at the top of the page (logo.gif). I edited the stylesheet as per instructions on the forum however the image stays to the left after changing the #logo to text-align: center;. However I did notice that if I change it from float left to float right it will align with the right side of the header.

I have made quite a few changes to the code and I am a bit puzzled as to why it will not center.

Any ideas would be greatly appreciated.

I am using the latest version of zencart and nifty_zen.

I created a fresh install and tried centering the logo and it worked beautifully. Clearly it is a problem caused by something I have done. Any help would be great.

I copied the stylesheet_new.css file from my problem site to the fresh install and the logo remained centered so whatever is causing the problem in my site is not based in the stylesheet file.

30 Aug 2008, 9:01 PM
#184
Kim avatar

Kim

Obaa-san

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

Re: Nifty Zen Template - Rounded Corners without images!

Did you try margin: auto; ?

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.

31 Aug 2008, 4:37 AM
#186
brettb76 avatar

brettb76

New Zenner

Join Date:
Jul 2008
Posts:
14
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Thanks for your suggestions. I tried both of those and had no luck.

I started replacing folders 1 by 1 until I could get the logo centered to try to work out which file is causing the problem.

In the end I fixed the problem by deleting a file I had created in the CSS folder called "stylesheet_new backup.css".

Not sure why.

31 Aug 2008, 4:46 PM
#187
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Nifty Zen Template - Rounded Corners without images!

Any file named style*.css in your /css/ folder will be loaded, and the one you mention will be loaded after your real stylesheet, overruling the changes you made.

2 Sep 2008, 6:46 PM
#188
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

just noticed this the nifty corners don't seem to be working in IE 7

https://www.gorillagear.ca = zencart v1.3.9h with 40+ mods

3 Mar 2009, 6:46 PM
#190
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

georgeau88:

hi Jettrue,

I want to use my own template plus nifty feature on my sidebox, but it is not working. A strange uploading message is shown:

http://www.a1systems.com/shop/niftyCorners.css.... ,then
http://templates.doteasy.com/ErrorPages/error404

Please advise how I can solve it.

george

That is something you are going to have to work out on your own. Do a google search for NiftyCube and read instructions on how it works.

4 Mar 2009, 3:27 PM
#191
mbdesigns avatar

mbdesigns

New Zenner

Join Date:
Jan 2009
Posts:
9
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Thank you for the great template. I am on the home stretch with it now and have a couple questions. First- I have a white "mystery" box in front of my second tab and cannot figure out where it came from. It was there when I first installed the nifty-zen template.
Second- how do I change the background of the pages (by background I mean all of the white space surrounding all of the center section) to a background image? I have tried placing the image in the css but it is not showing up.
I'm sure that I have missed something simple on both of these issues...but after you have looked at it for so long you just can't see any more! :blink:

Here is a link to my site:
http://www.mbradleydesigns.com/shoppe/

Thanks you VERY much to anyone who can help with this!

Michelle

4 Mar 2009, 3:53 PM
#192
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

MBDesigns:

Thank you for the great template. I am on the home stretch with it now and have a couple questions. First- I have a white "mystery" box in front of my second tab and cannot figure out where it came from. It was there when I first installed the nifty-zen template.
Second- how do I change the background of the pages (by background I mean all of the white space surrounding all of the center section) to a background image? I have tried placing the image in the css but it is not showing up.
I'm sure that I have missed something simple on both of these issues...but after you have looked at it for so long you just can't see any more! :blink:

Here is a link to my site:
http://www.mbradleydesigns.com/shoppe/

Thanks you VERY much to anyone who can help with this!

Michelle

Hi,

I don't see a "white mystery box", but i see that your login box is blank. I'm guessing that you removed the "login" text from includes/languages/english/header.php?

Either add the word "Log In" back to the file above, or remove that tab in includes/templates/YOUR_TEMPLATE/common/tpl_header.php

You would change this:

<div id="navMainWrapper">

    <div id="navMain">

      <ul id="back">

        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

        <?php if ($_SESSION['customer_id']) { ?>

        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>

        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>

        <?php

      } else {

        if (STORE_STATUS == '0') {

?>

        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>

        <?php } } ?>

        <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>

        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>

        <?php }?>

      </ul>

    </div>

    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>

  </div>

to this:

<div id="navMainWrapper">

    <div id="navMain">

      <ul id="back">

        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

        <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>

        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>

        <?php }?>

      </ul>

    </div>

    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>

  </div>
4 Mar 2009, 4:03 PM
#193
mbdesigns avatar

mbdesigns

New Zenner

Join Date:
Jan 2009
Posts:
9
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Bless you!!! Adding those words back to the includes/languages/english/header.php file worked like a charm. I never would have thought to look there.

Can you tell me where to add my background image in the css to make it show up? What I want to do is have a background image/pattern all around the main part of the site and I am also going to make the areas in between the side box and main box transparent so that you can see the background in those areas too. kind of a separator of sorts. At least that's what I'm aiming for. :smile:

Thank you again for your **quick **help!

4 Mar 2009, 4:07 PM
#194
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

MBDesigns:

Bless you!!! Adding those words back to the includes/languages/english/header.php file worked like a charm. I never would have thought to look there.

Can you tell me where to add my background image in the css to make it show up? What I want to do is have a background image/pattern all around the main part of the site and I am also going to make the areas in between the side box and main box transparent so that you can see the background in those areas too. kind of a separator of sorts. At least that's what I'm aiming for. :smile:

Thank you again for your **quick **help!

The background image goes in your body tag,like this:

body {background:url('../images/nameofimagehere.jpg') repeat}

I'm assuming its a tiled image, and the repeat will make it repeat. If its a full size image (that would be huge though), remove the word repeat

Upload the image to includes/templates/YOUR_TEMPLATE/images

I don't think you'll be able to make portions transparent, but you'll have to add the background image to the other sections you want it on.

4 Mar 2009, 4:41 PM
#195
mbdesigns avatar

mbdesigns

New Zenner

Join Date:
Jan 2009
Posts:
9
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

:clap: Yay!!!! Thank you! Got the background set.

Thank you VERY much!!!
Michelle

4 Mar 2009, 4:51 PM
#196
mbdesigns avatar

mbdesigns

New Zenner

Join Date:
Jan 2009
Posts:
9
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

To make that line under the tabs an image what would you add to the css?

4 Mar 2009, 8:50 PM
#197
mbdesigns avatar

mbdesigns

New Zenner

Join Date:
Jan 2009
Posts:
9
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

MBDesigns:

To make that line under the tabs an image what would you add to the css?

Nevermind, I think I'm going to leave mine as a dotted line rather than the image. I like the look even better this way. :smile:

Thank you again for everything!!!
Michelle

5 Mar 2009, 11:00 PM
#198
mbdesigns avatar

mbdesigns

New Zenner

Join Date:
Jan 2009
Posts:
9
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

One last thing...could you tell me how to send the dotted line that is front of the tabs to behind the tabs instead? Here is my website link again:
http://www.mbradleydesigns.com/shoppe/

I want it to look like it runs across the page and then behind the tabs instead of in front of them. Is that possible?

Thanks so much!!!
Michelle

6 Mar 2009, 12:44 AM
#199
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

MBDesigns:

One last thing...could you tell me how to send the dotted line that is front of the tabs to behind the tabs instead? Here is my website link again:
http://www.mbradleydesigns.com/shoppe/

I want it to look like it runs across the page and then behind the tabs instead of in front of them. Is that possible?

Thanks so much!!!
Michelle

Add it to #navMainWrapper as a border bottom instead, like this:
border-bottom:.2em dotted #cacebf;

6 Mar 2009, 3:03 AM
#200
mbdesigns avatar

mbdesigns

New Zenner

Join Date:
Jan 2009
Posts:
9
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Perfect!
Thank you!!!