Keyword

list-style-type for div.itemExtraFields ul li

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
7 years 1 month ago #161071 by Franz Heine
Hi,

i try to get list-style-type: disc for div.itemExtraFields ul li span.itemExtraFieldsValue
But it has no efffect

Do you have a idea how can i get list-styles for my extrafield values?

Thx

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
7 years 1 month ago #161107 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic list-style-type for div.itemExtraFields ul li
Hello Franz,

Please send the url so that I can help you.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
7 years 4 weeks ago #161119 by Franz Heine
Replied by Franz Heine on topic list-style-type for div.itemExtraFields ul li

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
7 years 4 weeks ago #161135 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic list-style-type for div.itemExtraFields ul li
Hello Franz,

I suppose that you are talking about the fields: Zahlungsarten and Shopvorteile
First of all, the html of them is like that:
<span class="itemExtraFieldsValue">
<ul class="Rechnung">Rechnung</ul>
<ul class=" Kreditkarte"> Kreditkarte</ul>
<ul class=" Nachnahme"> Nachnahme</ul>
<ul class=" PayPal"> PayPal</ul>
<ul class=" Vorkasse / Sofortüberweisung"> Vorkasse / Sofortüberweisung</ul>
</span>
As you can see, they are all
<ul>
elements, which is not correct as html code
So you need to modify them to look like that:
<span class="itemExtraFieldsValue">
<ul>
<li class="Rechnung">Rechnung</li>
<li class=" Kreditkarte"> Kreditkarte</li>
<li class=" Nachnahme"> Nachnahme</li>
<li class=" PayPal"> PayPal</li>
<li class=" Vorkasse / Sofortüberweisung"> Vorkasse / Sofortüberweisung</li>
</ul>
</span>

Then you will need to apply these css rules:
span.itemExtraFieldsValue ul li{
display: list-item;
}
span.itemExtraFieldsValue ul {
list-style-type: disc;
}

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
7 years 4 weeks ago #161167 by Franz Heine
Replied by Franz Heine on topic list-style-type for div.itemExtraFields ul li
Thank you Mohamed.

Youre great! Works like a charm

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
7 years 4 weeks ago #161174 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic list-style-type for div.itemExtraFields ul li
Great!

You are welcome, Franz :)

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum