Skip to content

Fix: Prevent .directorist-content-active CSS from overriding theme list styles#2762

Merged
Armanul46 merged 2 commits intosovware:developmentfrom
RabbiIslamRony:fix/directorist-entry-content-ul-style
Apr 8, 2026
Merged

Fix: Prevent .directorist-content-active CSS from overriding theme list styles#2762
Armanul46 merged 2 commits intosovware:developmentfrom
RabbiIslamRony:fix/directorist-entry-content-ul-style

Conversation

@RabbiIslamRony
Copy link
Copy Markdown
Member

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Security fix
  • Improvement
  • New Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Text changes
  • Other... Please describe:

Description

This PR removes the CSS rule:

.directorist-content-active .entry-content ul {
margin: 0;
padding: 0;
}

This rule was unintentionally overriding the default theme styling for unordered lists inside .entry-content.

Issue

Because of the additional .directorist-content-active class, theme-level styling such as:

.entry-content ul

was being overridden. As a result, list styles were not displayed correctly on some sites.

Fix

Removed the CSS rule so that theme default list styling is respected and not overridden by the plugin.

Lists now follow the theme's default styling without requiring additional overrides.

Any linked issues

Fixes #
https://taiga-sovware-u10698.vm.elestio.app/project/directorist/issue/2717

Checklist

@RabbiIslamRony RabbiIslamRony added this to the 8.6.7 milestone Apr 6, 2026
@Armanul46 Armanul46 modified the milestones: 8.6.7, 8.6.8 Apr 6, 2026
@Armanul46 Armanul46 merged commit 80d40dc into sovware:development Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants