Hi , i am being develop site that using Drupal.
And try to edit the list to be without bullet.
I have try with select the class or id and create the properties in css but getting failed.

Please, give me know to do that ?

This is the codes that i get from VIEW SOURCE :

<div class="container">
      <div class="blog"><div id="block-blog-0" class="block block-blog">

  <h2>Recent blog posts</h2>

  <div class="content"><div class="item-list"><ul><li><a href="/wbm/?q=node/5">Blog 2</a></li><li><a href="/wbm/?q=node/3">Blog1</a></li></ul></div><div class="more-link"><a href="/wbm/?q=blog" title="Read the latest blog entries.">more</a></div></div>

</div>
        </div>
</div>

Thanks

Dani AI

Generated

Thread shows the common issue of browser/Drupal defaults or selector specificity preventing a custom rule from removing list bullets. later noted the problem was cleared; typical fixes are either applying the right selector in the theme stylesheet or clearing Drupal/browser caches so the new CSS is loaded.

A reliable rule to put in your theme CSS is:

.item-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

Place it in your active theme stylesheet (for example, the theme's main .css file) and use a more specific selector if needed, e.g. targeting the block or container that holds the list. Avoid !important unless you first check which rule is overriding yours.

If a change does not appear: confirm the stylesheet is actually loaded (use the browser devtools to inspect the element and see active rules), clear Drupal caches and disable CSS aggregation while developing so updates are immediate, and check for higher-specificity rules coming from the theme or modules. The list-style property behavior and options are documented on MDN list-style on MDN.

As suggested, mark the topic solved when the fix is confirmed. Common troubleshooting steps (inspect, increase specificity, clear cache) will save time the next time a style change seems not to apply.

Recommended Answers

All 2 Replies

it has cleared. thanks for all support

please select mark as solved ...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.