Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Need help with a couple of CSS styles on the left sidebar Categories

    Oh, I forgot a slash in the image url. If added, your arrow should be there. Sorry about that.

    ORIGINAL:
    Code:
    background: url(..images/bc_cat_no_sub.gif) no-repeat;
    MODIFIED:
    Code:
    background: url(../images/bc_cat_no_sub.gif) no-repeat;
    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  2. #2
    Join Date
    Jan 2013
    Posts
    104
    Plugin Contributions
    0

    Default Re: Need help with a couple of CSS styles on the left sidebar Categories

    Yes that did, thank you!

    Any idea why the large boxes for Nootropics & Featured Products? (and why it's happening more in Chrome & Safari when it's not in Firefox?) I assume with Featured Products it's a larger box because it's taking up 2 lines of text, but the Nootropics one boggles me?

    Thanks again!

  3. #3
    Join Date
    Jan 2013
    Posts
    104
    Plugin Contributions
    0

    Default Re: Need help with a couple of CSS styles on the left sidebar Categories

    Still stuck on this last thing, any help is greatly appreciated:

    Any idea why the large boxes for Nootropics & Featured Products? (and why it's happening more in Chrome & Safari when it's not in Firefox?) I assume with Featured Products it's a larger box because it's taking up 2 lines of text, but the Nootropics one boggles me?

    Thanks.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Need help with a couple of CSS styles on the left sidebar Categories

    In the source of your page, the All Products link has a <br /> after it. Find that and remove it and the Nootropics link should be the same as the others.

    If you aren't going to use the right sidebox column, I would turn it off globally and make the left column bigger so Featured Products doesn't wrap. Easier to read and looks cleaner.

  5. #5
    Join Date
    Jan 2013
    Posts
    104
    Plugin Contributions
    0

    Default Re: Need help with a couple of CSS styles on the left sidebar Categories

    Quote Originally Posted by stevesh View Post
    In the source of your page, the All Products link has a <br /> after it. Find that and remove it and the Nootropics link should be the same as the others.

    If you aren't going to use the right sidebox column, I would turn it off globally and make the left column bigger so Featured Products doesn't wrap. Easier to read and looks cleaner.
    Ok so taking a look at my tpl_categories.php I found 3 <br />

    Which one should I edit & how? - Do I just delete the <br /> & leave the two ' ' or delete those as well?

    Line 25:

    Code:
         $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
        if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
          $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>' . "\n";
        }
    	$content .= '<br />' . "\n";
    Or line 82:

    Code:
      if (SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true' or SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
    // display a separator between categories and links
        if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
    //      $content .= '<br />' . zen_draw_separator('pixel_silver.gif') . '<br />';
    //      $content .= '<hr id="catBoxDivider" />' . "\n";
          $content .= '<br style="line-height: 0;" />' . '<hr id="catBoxDivider" />' . '<br style="line-height: 0;" />';
    Last edited by JohnnyScience; 27 May 2013 at 09:31 PM.

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Need help with a couple of CSS styles on the left sidebar Categories

    Probably the first one - try it and see. Leave the single quotes.

  7. #7
    Join Date
    Jan 2013
    Posts
    104
    Plugin Contributions
    0

    Default Re: Need help with a couple of CSS styles on the left sidebar Categories

    Quote Originally Posted by stevesh View Post
    Probably the first one - try it and see. Leave the single quotes.
    Ok great that worked for the All Products.

    Any idea on the second one of Featured Products? I assume it's adding a double line because it won't fit within the box, but if I open the website in Chrome it seems there is an additional <br /> still

    Should I just delete the other two?

    Actually just taking another look at the other two & they are commented out, so they shouldn't be affected the Featured Products - any other idea what's causing it?

    Code:
    //      $content .= '<br />' . zen_draw_separator('pixel_silver.gif') . '<br />';

 

 

Similar Threads

  1. Need additional categories in the sidebar that do not appear in the main nav
    By LizNix in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Jul 2011, 11:58 PM
  2. Need help with stylesheet - Need to delete the categories
    By annav in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jun 2009, 12:41 PM
  3. Alter the category listings with the css sidebar
    By JimmyV in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 19 Feb 2008, 06:21 PM
  4. Need Help with a couple of issues with the shop
    By chrisb in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Oct 2006, 12:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg