Site logo

Archived topic

GenerateBlocks list-style-type not taking effect.

7 replies · Started by vast on November 2, 2020

Viewing posts 1–8 of 8

When using the ul property list-style-type with GenerateBlocks, the style does take effect. The CSS is as follows;

ul {
    list-style-type: none;    
}

ul li:before {
    content:'*';
}

Hi there,

how are you adding the list to the GenerateBlocks? Is this a core list block ?

Yes it is. It appears that classes in general don't take effect with GenerateBlock objects e.g. paragraphs, lists, etc.

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

Hi Leo,

The site's on an internal server so it isn't externally accessible. We can look at making the site available but it'll take time. In the meanwhile, if you are able to suggest options we can try, that would be awesome.

Thanks Leo. We were able to resolve the issue. Since the CSS is inline, it had to be processed prior to the subsequent styles.

No problem :)

This archived topic is closed to new replies.