Pesquisas recentes
Sem pesquisas recentes

Heather Firth
Entrou em 15 de abr. de 2021
·
Última atividade em 27 de out. de 2021
Seguindo
0
Seguidores
0
Atividade total
3
Votos
0
Assinatura
1
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Heather Firth
Heather Firth comentou,
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}}
{{name}}
{{#if internal}}
{{/if}}
{{#each sections}}
{{/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
Exibir comentário · Publicado 10 de jul. de 2019 · Heather Firth
0
Seguidores
0
Votos
0
Comentários
Heather Firth comentou,
I've tried all this and it isn't working at all.
I keep getting "not possible to access 'section' in 'section.articles'
Exibir comentário · Publicado 10 de jul. de 2019 · Heather Firth
0
Seguidores
0
Votos
0
Comentários