Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jan 2013
    Posts
    104
    Plugin Contributions
    0

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

    How do I get a bullet next to the new "All Products" like the other links have and put the separating line between the two?

    And the hover is different compared to the other links, any idea what/where to add to make it have the same hover effect?

    http://visionaryscience.net/

    Thanks.

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

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

    First, why do you have/want twoi links to All Products ?

  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

    I plan on deleting the bottom one, but I wanted to leave it as an example until I get these couple of things resolved.

    Any idea? I'm still stuck.

    Thanks.

  4. #4
    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

    Might try adding something like this to your stylesheet_betterCategoriesEzInfo.css:

    Code:
    .category-links {
       border-bottom:1px dashed #ccc; 
       display: block; 
       padding-left: 15px; 
       background: url(..images/bc_cat_no_sub.gif) no-repeat; 
       background-position: 5px 8px;}
    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  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

    Ok that did work, thank you.

    Any idea how to get the arrow next to it like the rest of them?

    Why is the Nootropics box bigger than the rest? I've seen this happen in Chrome & in Safari when it wasn't happening in firefox. Any clue what that's from?

    Like in Chrome, Featured Products box is HUGE? (I wouldn't be opposed to even doing away with the Featured Products list, but I think the error will just happen to another box.

  6. #6
    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!

  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

    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!

  8. #8
    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.

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    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.

  10. #10
    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.

 

 
Page 1 of 2 12 LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR