Zen Cart Logo
Forums / Addon Templates / Can anyone help me solve this problems - Atheme

Can anyone help me solve this problems - Atheme

Locked

Views: 1,965

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
6 Sep 2007, 5:44 PM
#1
hoanglee2001 avatar

hoanglee2001

New Zenner

Join Date:
Sep 2007
Posts:
6
Plugin Contributions:
0

Can anyone help me solve this problems - Atheme

i just installed the new zen-cart, and used the atheme free skin.
I have some question to ask

1 the two sidebox that seem doest not fit the screen. how can i move both side both to the side, so it would fit for every browser?

2 the text size for categories is so small, is there a way i can bolder it or make them bigger. look different than the rest

3 also. is there a way that i can change text size for entire sites?

8 Sep 2007, 10:10 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Can anyone help me solve this problems - Atheme

1 and 2 are difficult to answer without seeing your site. You can adjust the font size for the site overall by changing the font-size applied to body in your stylesheet.

8 Sep 2007, 5:54 PM
#3
hoanglee2001 avatar

hoanglee2001

New Zenner

Join Date:
Sep 2007
Posts:
6
Plugin Contributions:
0

Re: Can anyone help me solve this problems - Atheme

tpl_header.php

I think it should do something here, but i dont know how.
thanks!

<?php /** * Atheme Template - tpl_header.php * * @package templateSystem * @copyright Copyright 2007 iChoze Internet Solutions <http://ichoze.com> * @copyright Portions Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $ */ ?> <?php // Display all header alerts via messageStack: if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) { echo htmlspecialchars(urldecode($_GET['error_message'])); } if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) { echo htmlspecialchars($_GET['info_message']); } else { } ?> <!--bof-header logo and navigation display--> <?php if (!isset($flag_disable_header) || !$flag_disable_header) { ?> <div id="headerWrapper"> <!--bof-branding display--> <div id="logoWrapper"> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div> <?php if (HEADER_SALES_TEXT != '') { ?> <div id="taglineWrapper"> <?php if (HEADER_SALES_TEXT != '') { ?> <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div> <?php } ?> <!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <?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_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> |</li> <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_SHIPPING; ?></a></li> <?php } } ?> <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li> | <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?> </ul> </div> </div> <!--eof-navigation display--> </div> <?php } // no HEADER_SALES_TEXT ?> </div> <br class="clearBoth" /> <!--eof-branding display--> <!--eof-header logo and navigation display--> </div> <?php if (HEADER_DROP_SWITCH == '1'){ require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php'); }else{ require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); }?> <div id="searchCartBarWrapper"> <div id="searchCartBar"> <div id="cartContent"> <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo $_SESSION['cart']->count_contents() . HEADER_TITLE_CCONTENTS; ?></a> </div> <div id="altLinks"> <a href="<?php echo zen_href_link(FILENAME_SPECIALS, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_SPECIALS;?></a> | <a href="<?php echo zen_href_link(FILENAME_FEATURED_PRODUCTS, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_FEATURED;?></a> | <a href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_ALLPRODUCTS;?></a> </div> <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?> </div> <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); }?><div class="clearBoth"></div> </div> <?php } ?>

any suggestion would be appreciate!

8 Sep 2007, 7:34 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Can anyone help me solve this problems - Atheme

The code that you have posted is not relevant to either sideboxes or font sizes. Your question 3 has been answered above and I repeat that your questions 1 and 2 will be difficult to answer without seeing how your specific site has been set up and in particular the content in the errant sideboxes.

9 Sep 2007, 3:46 AM
#5
hoanglee2001 avatar

hoanglee2001

New Zenner

Join Date:
Sep 2007
Posts:
6
Plugin Contributions:
0

Re: Can anyone help me solve this problems - Atheme

i think i fixed the problem for both #1 and 2 but i have another questions regarding of header part.
Can anyone show me how to move the link on the top ( My Account/ Shipping Info) to the place next to Search box, Near specials/ Features Items/ View all Products.?

my site http://techs-depot.com

The top part that show different place for My account and Shipping Info in both Firefox and IE browers, and i want to move it the Special/Features Items, or the drop bar above, does not matter, as long as it does not stay on the top of the page with messing around the logo.

I try and it does not work, i am not good at this. T think it have do to something with the quote i have post above. i don't know.

Very Appreciate for any help

9 Sep 2007, 9:15 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Can anyone help me solve this problems - Atheme

You are referring to the navigation menu. This is generated by the code between <!--bof-navigation display--> and <!--eof-navigation display--> in the code you posted above.

To move it, you would take all the code from <!--bof-navigation display--> to <!--eof-navigation display--> inclusive and move it to where you want it to go, which by the sounds of it would be just after the following code> <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>

</div>You will probably need also to tweak the CSS for these areas to have them display nicely together.
11 Sep 2007, 8:46 AM
#7
hoanglee2001 avatar

hoanglee2001

New Zenner

Join Date:
Sep 2007
Posts:
6
Plugin Contributions:
0

Re: Can anyone help me solve this problems - Atheme

you know what should i fix in stylesheet because i do not know what to do, to make them lay next to the special, instead of overlapping it

11 Sep 2007, 9:35 PM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Can anyone help me solve this problems - Atheme

Unfortunately the template that you are using, whilst doing what it was designed to do, isn't very friendly to changes.

Before trying to sort out the CSS, you need to get a solid structure in place. As you now wish to place the mainNav links next to what are called in this specific template "altLinks", I recommend taking the <a> tags from the navMain section and popping them inside the section that starts <div id="altLinks">, then delete everything else that you moved previously. That will get all these links on the level and structured consistently, it will then be much easier to work out what the appropriate CSS should be.