Don't need both Categories and Sections. Can I remove one?

Beantwortet

2 Kommentare

  • Thomas Verschoren
    Aktionen für Kommentare Permalink

    Hey,

    The default Copenhagen theme shows only sections on the home page if only 1 category exists.

    So If you create one main category (FAQ) with sections below the home page of your Guide will only display the underlying sections and it would seem for your customers you have no categories only sections.

     

    If you want to make the experience complete, you can also modify the CSS a bit so it hides the FAQ category in your breadcrumbs

    .breadcrumbs li:nth-child(2){
    display:none;
    }


    2
  • Ifra Saqlain
    Aktionen für Kommentare Permalink

    Hi Helen,

    You can try this , I used a Zendesk helper and CSS property. I did it for home_page.hbs template.

    Copy the given code and paste on your home_page.hbs template .

    {{category_tree_with_article}}

    by this component Category , Section and Article list will be show on your home template. 

     

    now if you wanna show only category and all  article  list under of that category , then copy this code and paste on your style.css template .

     

    .category-tree-with-article .section h3{
    display:none;
    }

     

    Now you can see , there is only category and article list.

     

    And if you wanna show only sections and article list under of that sections , then 

    Copy the given code and paste on your style.css template .

    .category-tree-with-article .category h2{
    display:none;
    }

     

    here you can see only sections and article list.

     

     

    Thank You

    Team Diziana 

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk