☁️ Discourse Air Theme

I think the Air Theme is so nice, however, the option to edit (or add) CSS is not there when I visit ADMIN > CUSTOMIZE > Air Theme. Am I missing something? https://www.communiteq.com/ is hosting my site. This is what I see:

1 Like

You have to add your own component

2 Likes

@Moin! I’m brand new to Discourse, but WOW! This just keeps getting better and better! Thank you so much!

Also, please accept my apologies, as I see that when reading through this thread, this question has been asked and answered about 5,000 times.

3 Likes

No need to apologize. It may not be commonly known that you can do that! :smile:

Here’s a guide if you want to explore the theme/components:

3 Likes

Thank you for the theme. I would like to use adobe fonts. do i have to edit the theme file? or what is the smartest way to do that?

I have also seen the header logo is kinda small and the ri%ght hand side search bar can and login can look more like a button than icon… is that a plugin/compontent or css

I believe you can create a new theme-component and override the fonts

This computer bent maybe able to be modified or you might find fonts in google fonts to your liking

.Google Fonts

The header you can target and adjust with CSS I believe

Maybe not quite what your looking for. But maybe of interest.

Hi all

Thanks for such a great theme!
I’m just struggling with something. I’ve noticed on mobile that some of the Profile Preferences tabs don’t have a solid background, causing it to look a bit strange. See image below for reference:

The error page on mobile version does the same thing. They’re all fine on desktop/tablet view, but mobile version seems to have different CSS?

Does anyone perhaps know how/where I can change this? I don’t have any coding background, so would I need to get a developer to do this for me?

1 Like

Here is an example of what it looks like on tablet/mobile and also what most of the other tabs look like:

1 Like

Welcome to Meta! :wave:

I don’t think so. This is an official theme so it is maintained by the Discourse team. But even other themes which are shared here are often fixed by the maintainer when you report a problem.

I can reproduce your problem here. It looks even worse than your screenshot because the message preview is wider than my screen.

1 Like

Does anyone know how to hide td-class?

1 Like

You can try this CSS:

.topic-list {
    .topic-list-header .posts,
    .topic-list-body .posts {
        display: none !important;   
    }
}

2 Likes

Yes, I tried to hide them this way. regular divs are hidden, but it doesn’t work with td. I tried several options:

.td.num.posts... {
        display: none;
}

.td:num.posts... {
        display: none;
}
1 Like

I tested my CSS, and it works for me. Did you test it?

It misses the !important for this theme.

3 Likes

Thank’s @chapoi

.full-width .contents .topic-list .topic-list-body .topic-list-item .topic-list-data.posts,
.full-width .contents .topic-list .topic-list-body .topic-list-item .topic-list-data.age,
.full-width .contents .topic-list .topic-list-body .topic-list-item .topic-list-data.posters {
	display: none;
	
}

2 Likes

There is some empty space at the top. Is there any way to remove it? I can’t find anything using the element inspector.


And I would like to increase the width of the block with the topic content

@jordan-vidrine

There’s a margin-top in the main-outlet class

You should add this:

html body #main-outlet {
  margin-top: 0;
}

I’ve never used this yet, but there is a topic-width settings in the css, in a root element.

Add this, it should adapt everything else:

:root {
  --topic-body-width: 750px;
}
1 Like

This is something not right

At the same time it looks normal. Thank you

.container.posts {
    grid-template-columns: 90% 10%;
}

Thanks for sharing! Will take a look at this soon.

1 Like

This has been fixed in the latest merging of a PR

1 Like