fbpx
Introducing JD Builder - Now Beat the unbeatable designsDownload For Free
Welcome, Guest
Username: Password: Remember me

Like using Astroid?

Help us improve Astroid by providing some quick feedback.

Take the survey

TOPIC: (SOLVED) Cannot change list-style-type in FAQ Accordion contents

Cannot change list-style-type in FAQ Accordion contents 2 months 1 week ago #17064

  • heretic
  • heretic's Avatar
  • Offline
  • Senior Member
  • Posts: 40
  • Thank you received: 3
  • Karma: 0
I cannot fully redefine unordered list markers in FAQ Accordion. I have added the following code to Custom CSS of the FAQ Accordion:
ul li::marker {
 list-style-type: disc !important;
 color: red;
}
The color changes to red properly, but list-style-type stays circle all the time, not changing to disc.
How can I change the UL markers?



Last Edit: 2 months 1 week ago by heretic.
The topic has been locked.

Cannot change list-style-type in FAQ Accordion contents 2 months 1 week ago #17066

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3116
  • Thank you received: 491
  • Karma: 82
Hello,

Thanks for using JD Builder.

list-style-type will not work on ::marker selector. So apply on ul.

Note: ::marker is not supported all the browsers. See the following link.
caniuse.com/#search=%3A%3Amarker

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
Last Edit: 2 months 1 week ago by admin.
The topic has been locked.

Cannot change list-style-type in FAQ Accordion contents 2 months 1 week ago #17074

  • heretic
  • heretic's Avatar
  • Offline
  • Senior Member
  • Posts: 40
  • Thank you received: 3
  • Karma: 0
Thanks, but what if I want to style the marker color separately (not together with the ul text)?
The topic has been locked.

Cannot change list-style-type in FAQ Accordion contents 2 months 1 week ago #17094

  • heretic
  • heretic's Avatar
  • Offline
  • Senior Member
  • Posts: 40
  • Thank you received: 3
  • Karma: 0
I found that it is possible this way: stackoverflow.com/questions/35349456/css-style-list-markers. However, it has nothing to do with JD Builder, so it is off topic here - sorry.
Last Edit: 2 months 1 week ago by heretic.
The topic has been locked.

Cannot change list-style-type in FAQ Accordion contents 2 months 1 week ago #17096

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3116
  • Thank you received: 491
  • Karma: 82
Let us know if you have any question for us.

Ticket Closed
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.
Moderators: chandandeep
Time to create page: 0.251 seconds