Skip to content

Allow styling entries by category in User CSS - #8397

Merged
Alkarex merged 2 commits into
FreshRSS:edgefrom
Inverle:data-category-css
Jan 4, 2026
Merged

Alkarex merged 2 commits into
FreshRSS:edgefrom
Inverle:data-category-css

Conversation

@Inverle

@Inverle Inverle commented Jan 3, 2026

Copy link
Copy Markdown
Member

Since we have data-feed, it is useful to have data-category too.

Example of usage to hide titles in all entries that belong to a specific category ID:

[data-category="6"] {
	.title { display: none !important }
	.summary {
		position: relative;
		bottom: 2rem;
	}
}

@Inverle Inverle added this to the 1.28.1 milestone Jan 3, 2026
Comment on lines 42 to 43
?>" data-priority="<?= $this->feed->priority()
?>"><?php $this->renderHelper('index/article'); ?>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reader view doesn't have data-link included in entries like normal view does 👀

@Inverle Inverle mentioned this pull request Jan 4, 2026
3 of 4 tasks
@Alkarex
Alkarex merged commit 4739bcc into FreshRSS:edge Jan 4, 2026
@Inverle
Inverle deleted the data-category-css branch January 4, 2026 14:18
@Alwaysin

Alwaysin commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Could all these nice additions be added to the docs?

@Alkarex

Alkarex commented Jan 5, 2026

Copy link
Copy Markdown
Member

Could all these nice additions be added to the docs?

PR welcome :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants