I recently set up my own discourse website, [Fantasia][1], but I am struggling to find out some of the class names for some aspects of the website. Below I will put a list on what I am stuck on, and any help will be greatly appreachiated.
.
2. I’ve tried nearly all the clases for what seems to be the categories dropdown list, but none of them seem to work. I would be gratefull if someone could suply me the right class.
They’re my two biggest points right now, and would be gratefull if
you go and check them out!
And you notice the background appears on hover - that hover rule I posted contains that background color. Do you have access to the CSS files? Look up that rule.
@RyanReese, he is trying to customize a Discourse instance, which unless you create a plugin for your theme, you have to override the existing CSS styles you want to do away with. So you have to add a new rule, that strikes/undoes what exists in the default CSS Discourse ships with.
OK. When I first looked at the site, on hover, the background became white with a broad grey border. Changing padding to margin there removed that. There is still a 1px grey border referenced in the rules which Ryan mentioned; you may also need to remove that.
Removing background-color: fff from .d-header .icons .active .icon keeps it visible while the menu or search is open.
@Mittineague that’s the rule that happens when you click on the search and do inspect element. The actual outline is the parent anchor which has the background.
With Discourse, you’d have to write a plugin, and that’s a lot more work than what you’ll want to do. You are better off putting in CSS customizations in the Admin area.
Yes setting the background to transparent works - or removing it. Good alternative @cpradio .
It would help to know what exactly you need this class for - are you trying to target a specific category? All the categories? I supplied the class that targets all of the categories already. Though knowing what you want to do will help us.