Recent searches
No recent searches

Nathan Hills
Joined May 28, 2021
·
Last activity Oct 27, 2021
Following
0
Followers
0
Total activity
5
Votes
0
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Nathan Hills
Nathan Hills commented,
Thanks for the help @Wes but I'm still troubleshooting.
View comment · Posted Dec 16, 2015 · Nathan Hills
0
Followers
0
Votes
0
Comments
Nathan Hills commented,
@Wes, unfortunately I can't push it live quite yet. Dang it. I guess I'll just keep trying to troubleshoot.
View comment · Posted Dec 16, 2015 · Nathan Hills
0
Followers
0
Votes
0
Comments
Nathan Hills commented,
@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.
View comment · Posted Dec 15, 2015 · Nathan Hills
0
Followers
0
Votes
0
Comments
Nathan Hills commented,
@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.
View comment · Posted Dec 15, 2015 · Nathan Hills
0
Followers
0
Votes
0
Comments