Question: Unordered List And Code Support

Unordered List And Code Support

When writing an unordered list, there is no bullet in front of each item . How to enable the bullets ? When writing some code in editor we get strange result. What code langage is supported

B

Bernier

Asked
When writing an unordered list, there is no bullet in front of each item . How to enable the bullets ?
When writing some code in editor we get strange result. What code langage is supported ? Possibility to get php and HTML support ?

Thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    The styles files are in the `themes/default/assets/css/` folder.

    For code highlight, I used `prismjs` [https://prismjs.com](https://prismjs.com) and file should be in `themes/default/assets/components/` folder.

    If you can share the screenshot that will be helpful to understand the issue and to suggest the solution.

    Thank you
  • B

    Bernier

    Answered
    Hi
    Sorry but for unordered list, I don't see how to get it displayed with a disc
    Currently it is as in the picture ... just a list of item with any bullet in front of them
  • MS

    Mian Saleem

    Answered
    Hello,

    You can add your styles at the end of `themes/default/assets/css/all.css`

    ```css
    ul {
    padding-left: 20px;
    list-style-type: disc;
    }
    ```

    Or in header file `themes/default/views/header.php` before `</head>`

    ```html
    <style>
    ul {
    padding-left: 20px;
    list-style-type: disc;
    }
    </style>
    ```

    Thank you
  • B

    Bernier

    Answered
    Thanks for your answer : un fact changing ul style from none to disc does the trick .... but for all ul in the page, even on the side bar : see the picture
    Attachments
  • B

    Bernier

    Answered
    Second answer about code support : here is a screen shot of result we have when inserting a bloc of code
    Attachments
  • MS

    Mian Saleem

    Answered
    Hello,

    Please share the url.

    Thank you
  • B

    Bernier

    Answered
    https://dcpostal.cconcept.support/

    This is the asked url
    Thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    There is no post to view. The list style disc is applied even to the side bar category menu and in footer too. Please share the link to the post where the styles are not applied.

    If you only want to apply to topic contents, then `content-box-md ul` would be the selector.

    Thank you
  • Login to Reply