Recherches récentes
Pas de recherche récente

Nathan Hills
Adhésion le 28 mai 2021
·
Dernière activité le 27 oct. 2021
Suivis
0
Abonnés
0
Activité totale
5
Votes
0
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Nathan Hills
Nathan Hills a ajouté un commentaire,
Thanks for the help @Wes but I'm still troubleshooting.
Afficher le commentaire · Publication le 16 déc. 2015 · Nathan Hills
0
Abonnés
0
Votes
0
Commentaire
Nathan Hills a ajouté un commentaire,
@Wes, unfortunately I can't push it live quite yet. Dang it. I guess I'll just keep trying to troubleshoot.
Afficher le commentaire · Publication le 16 déc. 2015 · Nathan Hills
0
Abonnés
0
Votes
0
Commentaire
Nathan Hills a ajouté un commentaire,
@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.
Afficher le commentaire · Publication le 15 déc. 2015 · Nathan Hills
0
Abonnés
0
Votes
0
Commentaire
Nathan Hills a ajouté un commentaire,
@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.
Afficher le commentaire · Publication le 15 déc. 2015 · Nathan Hills
0
Abonnés
0
Votes
0
Commentaire