Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    142
    Plugin Contributions
    0

    Default CSS: Underlining Links in Categories Sidebox

    Hey guys-
    I have another one I'm completely stumped on.

    site- h c g s u p p l y . c o m / s t o r e

    I want the links in the sideboxes (on the left side only) to be underlined the entire distance of the column. It's working on the other boxes (Information, Articles, etc). However, for some reason, it's not working on the Categories/Products box. I have this CSS which is working for the other boxes...

    .sideBoxContent li {
    margin-bottom: 5px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #dddddd;
    }

    Any ideas as to why that won't work on the Categories/Products side box?

    Thanks a ton guys!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: CSS: Underlining Links in Categories Sidebox

    Try this and adjust to suit
    Code:
    #categoriesContent a:link {
      border-bottom-style: solid;
      border-bottom-color: #4f4f4f;
    }
    In the future please add only one space to break link as in
    http ://hcgsupply.com/
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: CSS: Underlining Links in Categories Sidebox

    Thanks for the help-
    That didn't work. I figured out that it's because the Categories are dynamically written into the page, and DOES NOT use UL or LI's to list them (not sure why that is). So my original code won't apply to it.

    Your code only underlines the last link in the section. Additionally, it only underlines the actual text in the link- I want the entire width of the column underlined- like the ones in the Information and Articles boxes.

    Is there a way to change this to a UL LI style for displaying the links?

  4. #4
    Join Date
    Jan 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: CSS: Underlining Links in Categories Sidebox

    ok- just installed a mod - the Category UL LI mod (or something similar). That worked great!
    Thanks!

 

 

Similar Threads

  1. Enable Categories Links in Sidebox
    By Psykryph in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 30 Sep 2011, 04:23 PM
  2. Categories Sidebox CSS Question
    By DBB1 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 10 Aug 2010, 02:52 AM
  3. Enable Links for Parent Categories in Categories Sidebox
    By MrsQ in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Sep 2009, 08:25 PM
  4. Separating the Header Links from Sidebox links in CSS
    By mommydesigns in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 May 2007, 02:42 PM
  5. underlining links in center box
    By stumped in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 3 Apr 2007, 04:16 AM

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