unique id's

0
unique id's 1
Olaf
May 17, 2016 11:25 PM 1 Answers General
Member Since May 2016
Subscribed Subscribe Not subscribe
Flag(0)

hi,
I want to add a unique background image to each header. How can I get the ID's of each accordion item? I only see as ID some big numbers like "1463421255676". Is there a way to set the IDs of the items to 0, 1,2, ...?

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
unique id's 2
PickPlugins
May 18, 2016
Flag(0)

Welcome to our forum,
Sorry to say can't set the id like 1,2,3
but you use css by "nth-child" like following bellow, i hope your issue solve same way you want.
for the first header
.accordions-head:nth-child(1) {
  color: #f00 !important;
}
for the second header
.accordions-head:nth-child(2) {
  color: #f00 !important;
}
and so on.
 
Let me know for more help
 
Regards
 

Sign in to Reply
Replying as Submit