• I like the fasttrack template (found at alexking.org) but have run into a problem trying to customize it. Namely, by default it does not show WordPress link categories along with the links (which seems like an oversight, or am I the only one who uses link categories?). Anyway, I replaced the get_links line in its index.php with this:

      <?php get_links_list(); ?>

    This shows the link categories ok, but… the link font sizes are SMALLER than the link font sizes of the other items on the sidebar (which looks wrong). If I REMOVE the UL tags, the font size is correct but each link category shows a bullet next to it. I have tried putting both “list-style: none” and “list-style-type: none” in about every place imaginable in the style.css but the bullets will not go away. Very frustrating. I want the links to be the same size as every other link on the sidebar, with no bullets.

    I do not see this problem with the default kubrick theme (it is using get_links_list too), but I just cannot get it working with fasttrack. Any ideas?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter johannmon

    (@johannmon)

    ok, if you use the link categories, it creates an unordered list within the unordered list.
    something like
    < ul>
    < li id="linkcat-1">
    < h2>Category 1</h2>
    < ul>
    < li>< a href=’#’>Alex< /a>< /li>
    < li>< a href=’#’>Matt< /a>< /li>
    < /ul>
    < /li>
    < /ul>

    so we just need to add a new style for “#sidebar ul li ul li”, that will take care of styling the links within that.

    so you go ahead and add these lines at the end of the stylesheet.
    #sidebar ul li ul li {
    margin:5px;
    padding:3px;
    font-size:1em;
    }

    if it is not the font-size you wanted, try 0.9em, or 1.1em for the font-size property.

    Hope that helps,
    let me know if you still have issues.

    Thanks.

    Thread Starter johannmon

    (@johannmon)

    Thx for the help. When I added what you mention above, I was able to get the link fonts to match up using 1.1em. However, two bad things occurred. First, it changed the fonts for the link category names (making them smaller) and they no longer match the fonts for the other sidebar headings (Meta, Monthly, etc). Also, the links were indented and now are indented further than the links under Monthly and Meta.

    The only way it looks almost right is to eliminate the UL tags around get_links_list. However, as mentioned before, I then see bullets next to each of the link categories.

    Thread Starter johannmon

    (@johannmon)

    Just an addendum. After fooling about I added the following and things look better:

    #sidebar ul li h2
    { margin: 0;
    padding: 0 5px;
    font-size: 0.9em;
    color: #333;
    text-transform:uppercase;
    border-bottom:#ccc 1px solid;
    }
    #sidebar ul li ul li {
    margin: 0.5em 0 0 0;
    padding: 0;
    font-size:1.1em;
    }

    Things are not good enough now with one exception… For some reason, IE6 renders the font for the link categories a larger size than the sidebar fonts for Meta, Categories, etc., whereas in Firefox these fonts are the same size. Second, the link categories are slightly to the right of the Meta, Categories, etc. The whole font issue is strange. You would think that “sidebar ul li h2” would use the same font size as “sidebar h2” (.8em), but instead .8 shows link categories way too small in both IE and firefox, whereas .9em looks fine in firefox but too large in IE.

    It’s too bad you can’t just eliminate the UL tags around get-links-list, but that brings back those stupid bullets.

    Thread Starter johannmon

    (@johannmon)

    One other thing to note, the default/Kubrick theme handles get links list ok in links.php:

      <?php get_links_list(); ?>

    There are no issues with bullets, mismatched fonts, or formatting, so I’m not sure what is going on in fasttrack. I would prefer to use Fasttrack instead of kubrick, but it has proved frustrating trying to get it to display these link categories consistently with the other stuff on the sidebar.

    Thread Starter johannmon

    (@johannmon)

    Sorry to keep posting to myself, I fixed the font problems by setting the sidebar font size to .9, the sidebar h2 font size to .8, removing the font-size tag from sidebar ul, and then I removed all the stuff I added (and the new stuff you suggested). Now the fonts are a consistent size on the sidebar (Hooray).

    The only remaining issue is that my links/categories pulled from get_links_list display slightly indented compared to the other links on the rest of the page. Might be easier to show what I mean (I am overrepresenting it but it gives you the right idea):

    GETLINKLISTCATEGORY1
    link1
    link2

    MONTHLY
    October 2005
    November 2005

    Thread Starter johannmon

    (@johannmon)

    Well, guess this software removes the spaces… Anyway, getlinklistcategory and the 2 links under it show up slightly indented compared to monthly and the stuff under it.

    wow this is a bummer. I too am wrestling with this problem. I first just made the changes two posts above; the simple font size changes to sidebar, sidebar h2, and sidebar ul. Same exact results.

    Then I went through the entire thread, making the changes suggested by sadish. Same problems johannmon had.

    I wish I could turn the bullets off without indenting the link categories list. I wish I wish I wish.

    thanks in advance to anyone with any insight.

    liquidspeed

    (@liquidspeed)

    I found that I needed to add the following to my stylesheet:

    li
    {
    list-style: none
    }

    endub

    (@endub)

    LiquidSpeed – where did you add that and what did it fix for you?

    sadish

    (@sadish)

    I have learnt some new tricks after we released the theme.
    I will apply those and come up with an updated version of the theme, within a few weeks.

    please wait.
    Thanks
    Sadish

    liquidspeed

    (@liquidspeed)

    Hey endub, sorry just got your comment now. I added it to the end of my stylesheet and it removed bulletpoint from the links.

    endub

    (@endub)

    @sadish: An updated FastTrack? killer. It truly is *the best* WordPress theme. It would be awesome to see an updated version.

    @liquidspeed: It doesn’t look to me like you are using any link categories. You only have one cat, ‘Blogroll’, which looks to be just a renaming of the ‘Links’ PHP call. Am I missing something?

    An updated version of FastTrack, as I promised earlier, is available at https://wpthemes.info/fast-track/

    and this has a fix for the above.

    Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Fasttrack theme – problem with link categories’ is closed to new replies.