Pesquisas recentes
Sem pesquisas recentes

Nathan Hills
Entrou em 28 de mai. de 2021
·
Última atividade em 27 de out. de 2021
Seguindo
0
Seguidores
0
Atividade total
5
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 Nathan Hills
Nathan Hills comentou,
Thanks for the help @Wes but I'm still troubleshooting.
Exibir comentário · Publicado 16 de dez. de 2015 · Nathan Hills
0
Seguidores
0
Votos
0
Comentários
Nathan Hills comentou,
@Wes, unfortunately I can't push it live quite yet. Dang it. I guess I'll just keep trying to troubleshoot.
Exibir comentário · Publicado 16 de dez. de 2015 · Nathan Hills
0
Seguidores
0
Votos
0
Comentários
Nathan Hills comentou,
@Wes, thanks for the quick response, but I'm not sure I quite understand. I currently don't have a category called "General", rather I have four categories that I want to show on the home page with the icons that click through to see the Sections.
I've pasted the portion of code from the "Home page" I'm referring too.
Exibir comentário · Publicado 15 de dez. de 2015 · Nathan Hills
0
Seguidores
0
Votos
0
Comentários
Nathan Hills comentou,
@Wes
I've read through all of the comments and I'm trying to use your code here: https://gist.github.com/moderatorwes/ee49daf8a47dbb6f6068 to add my own icons.
I've added the JS:
//Category Home Page
$('h2:contains("General")').addClass('imageheading general-icon');
//Section Home Page
$('.section h3:contains("Troubleshooting")').addClass('imageheading Troubleshooting-icon');
$('.section h3:contains("FAQ")').addClass('imageheading FAQ-icon');
$('.section h3:contains("User Guide")').addClass('imageheading UserGuide-icon');
$('.section h3:contains("Orders")').addClass('imageheading Orders-icon');
//Section-Section
$('h1:contains("Troubleshooting")').addClass('imageheading Troubleshooting-icon');
$('h1:contains("UserGuide")').addClass('imageheading UserGuide-icon');
$('h1:contains("FAQ")').addClass('imageheading FAQ-icon');
$('h1:contains("Orders")').addClass('imageheading Orders-icon');
CSS:
.imageheading.general-icon {
background: #fff url(https://p4.zdassets.com/hc/theme_assets/569177/200048165/general.png) top left no-repeat;
}
.imageheading.UserGuide-icon {
background: #fff url(https://p4.zdassets.com/hc/theme_assets/569177/200048165/userGuide.png) top left no-repeat;
}
.imageheading.FAQ-icon {
background: #fff url(https://p4.zdassets.com/hc/theme_assets/569177/200048165/faq.png) top left no-repeat;
}
.imageheading.Troubleshooting-icon {
background: #fff url(https://p4.zdassets.com/hc/theme_assets/569177/200048165/troubleshooting.png) top left no-repeat;
}
.imageheading.Orders-icon {
background: #fff url(https://p4.zdassets.com/hc/theme_assets/569177/200048165/orders.png) top left no-repeat;
}
Do I need to add the class imageheading to the
{{name}}
Thanks in advance.
Exibir comentário · Publicado 15 de dez. de 2015 · Nathan Hills
0
Seguidores
0
Votos
0
Comentários