最近の検索


最近の検索はありません

Heather Firth's Avatar

Heather Firth

参加日2021年4月15日

·

前回のアクティビティ2021年10月27日

フォロー中

0

フォロワー

0

合計アクティビティ

3

投票

0

サブスクリプション

1

アクティビティの概要

さんの最近のアクティビティ Heather Firth

Heather Firthさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

OK. So I figured this out.

On your category_page.hbs template you need to find this bit of code:


{{#each sections}}


{{name}}
{{#if internal}}

{{/if}}

and directly underneath it paste this bit of code:

{{#if sections}}


    {{#each sections}}

  • {{name}}
    {{#if internal}}

    {{/if}}

  • {{/each}}

{{/if}}

 

I then played around with the style.css and added this:

.article-list {
margin-left: 30px !important;
}

.section-list-item {
border-bottom: 1px solid #ddd;
font-size: 16px;
padding: 15px 0;
}

.section-list-item a {
color: $text_color;
}

 

.section-list-item:before {
content: '\002B';
margin:0 5px 0 -15px;
color: #d40054;
}

.section-list {

list-style-type: none;
padding-left: 18px;

text-align: left;

}

You can use this site to find the character that you want to appear in front of your sections and articles:https://www.compart.com/en/unicode/category/So

 

コメントを表示 · 投稿日時:2019年7月10日 · Heather Firth

0

フォロワー

0

投票

0

コメント


Heather Firthさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

I've tried all this and it isn't working at all.

I keep getting "not possible to access 'section' in 'section.articles'

コメントを表示 · 投稿日時:2019年7月10日 · Heather Firth

0

フォロワー

0

投票

0

コメント