• Of what use is making a sub-category?

    On the sidebar, my subcategories look exactly like top-level categories.

    I thought subcategories would be visible only if you hover over or click on a category, or display in a less prominent typeface.

Viewing 1 replies (of 1 total)
  • Of what use is making a sub-category?

    Useful when hierarchical organization is appropriate for a specific application.

    I thought subcategories would be visible only if you hover over or click on a category,

    that can be set up, but requires some javascript or jQuery code

    or display in a less prominent typeface.

    That is done in the stylesheet.
    the code will not make the change – it has to be tailored to your theme – its to demonstrate principle. subcats will typically be in a nested unordered list – that is, the parent is in a <ul><li> structure and the subcat is another <ul><li> within the parent’s <li> tag. the code below targets the inner li – the subcat
    if the main sidebar div is sidebar, something like this
    #sidebar li li a { font-size: 10px; }
    will display the subcategory links in a smaller font size.

    the subcat display can also be indented by adding this
    #sidebar li li { padding-left: 10px; }

Viewing 1 replies (of 1 total)

The topic ‘Sub Categories – Displaying Same As Categories’ is closed to new replies.