Category Boxes - Humble Squid

6 コメント

  • Wes Drury

    @David - There are a few approaches to this as you could do it via HTML and CSS however I find it easier just to use JQuery for this.

    On the JS tab insert the lines below right below the $document.ready function

    $(".category-list li:has(a)").click(function() {
    window.location = $("a:first",this).attr("href");
    });
    $(".category-list li").css('cursor', 'pointer');

    Just let me know if you run into any issues

    0
  • David Verhoff

    Awesome, thanks Wes. This worked perfectly.

    0
  • Wes Drury

    @David - Glad to hear and best of luck to you.  If you have any other questions along the way just let me know.

    0
  • David Verhoff

    @Wes - thanks.  One other question I have is about the "Related Articles" section.  It doesn't seem the related articles that appear when I have an article open are relevant.

    Is there a way to remove or suppress the "Related Articles" section?

    0
  • Wes Drury

    @David - Sure, from the HTML tab select "Article Page". Scroll to the bottom of the page and around line 133 you should see  {{related_articles}} .  Just comment this line out so it would look like this  <!-- {{related_articles}} -->

    That should get it.

    0
  • David Verhoff

    @Wes - thanks again. This worked great.

    0

サインインしてコメントを残してください。

Powered by Zendesk