WebSite X5Help Center

 
John W.
John W.
User

Bullet list - Bullets do not change colour when changing colour of text  en

Autor: John W.
Besucht 427, Followers 2, Geteilt 0  

When changing the colour of the text in the Text Object the bullets do not change (stay black) colour or style? 

Gepostet am
8 ANTWORTEN - 3 NüTZLICH
Роман Г.
Роман Г.
User

Мне тоже это интересно.

Mehr lesen
Gepostet am von Роман Г.
Franz-Josef H.
Franz-Josef H.
Moderator

In step 3 'Sitemap' select the affected page and click on 'Properties' at the top. Then in the advanced section select the custom code "before the </HEAD> tag" and enter there

<style> * ul li {color:red!important;} </style>

This will change all the page bullets to red.

Mehr lesen
Gepostet am von Franz-Josef H.
Franz-Josef H.
Franz-Josef H.
Moderator

Second solution: if the list is in a text object, you can also click on the HTML code buttonto activate HTML and then enter the list as follows:

<ul>

<li>first point</li>

<li>second point</li>

<li>third point</li>

</ul>

Then highlight the text and choose the color you want.

Mehr lesen
Gepostet am von Franz-Josef H.
John W.
John W.
User
Autor

Thanks Franz-Josef, I used the second solution as I was using a text box and the bullet dots worked fine thank you.

I have also tried to get an ordered HTML list for the bottom part of the text using: 

<ol>
  <li>First point</li>
  <li>Second point</li>
  <li>Third point</li>
</ol>

and also:-

<ol type="1">
  <li>First point</li>
  <li>Second point</li>
  <li>Third point</li>

</ol>

I have also tried using a seperate text box for that section without success any ideas?

Mehr lesen
Gepostet am von John W.
Franz-Josef H.
Franz-Josef H.
Moderator

After testing it on my current WebsiteX5 version, I have to say it works for me. Can you describe in more detail how you entered it and upload screendhots?

Mehr lesen
Gepostet am von Franz-Josef H.
John W.
John W.
User
Autor

Here is a Screenshot from X5 and the result on the live website.

I understand from my web server guys that they will be upgrading me to a new sever tomorrow (Thursday) so that could possiblly make a difference.

Currently running on PHP v7.2 (which should be OK) but I will have access to the higher versions when they upgrade me.

Mehr lesen
Gepostet am von John W.
John W.
John W.
User
Autor

Text Object Screenshot

Mehr lesen
Gepostet am von John W.
Franz-Josef H.
Franz-Josef H.
Moderator

You can only format the numbers of the ordered list by adapting the CSS formatting of the page. To do this, mark the page in question in step 3 Sitemap and click on Properties at the top. Then select the Advanced area and there the custom code "before the </HEAD> tag". There you enter the following:
<style>ol li::marker {color:blue!important;font-weight:bold!important;}</style>

Mehr lesen
Gepostet am von Franz-Josef H.