Are there any thoughts about making Horizon full width? I find that it feels a bit constrained in the middle (corset?), and going fully would relax it nicely.
No, not planning on doing so. We are maintaining a limited width, which corresponds to optimal reading length.
I just tested (mobile though) and it works fine for me. Is there anything in the console? Or can you try a different browser to check?
Thanks @chapoi! My console:
Okay yeah I can definitely repro. I think it’s because Horizon has been moved to core probably. Will need to figure out how to fix the preview link, if at all possible. (Update: link in the OP is updated now)
That being said, you can just preview it here on Meta by switching to the theme
Thanks a lot, it works now!
2 posts were split to a new topic: Invisible Button Text on Horizon Theme
Mobile Ad Container Overflow in House Ads – RTL/LTR Layout Mismatch
Hi
I’m using the Horizon theme with the official House Ads plugin, and I’ve created a custom component to style ads using CSS variables and layout rules compatible with Discourse’s design system.
Issue: Ad container overflows viewport on mobile (both LTR & RTL)
- Theme: Horizon (not reproducible in default or other themes like Material, etc.)
- Plugin: House Ads + custom component
- Device: Mobile
- Behavior:
- When site language = English (LTR) → left edge of
.ad-containeris cut off (overflows left). - When site language = Persian/Arabic (RTL) → right edge is cut off (overflows right).
- When site language = English (LTR) → left edge of
- Expected: The ad card should be fully contained within the viewport, centered or aligned with post content width.
my css code:
Summary
:root {
/* Core colors */
--ad-bg: var(--secondary);
--ad-border: var(--highlight);
--ad-text: var(--primary);
/* Label */
--ad-label-bg: var(--highlight);
--ad-label-text: var(--danger);
}
.house-creative {
margin-left: 0 !important;
}
.house-creative a.between-posts-ad {
display: block;
text-decoration: none;
color: inherit;
background-color: transparent;
font-family: inherit;
}
/* ===============================
Card Container
=============================== */
.house-creative .ad-container {
direction: rtl !important;
text-align: center !important;
margin-bottom: 20px;
padding: 10px 5px;
max-width: calc(#{$topic-avatar-width} + #{$topic-body-width} + (#{$topic-body-width-padding} * 2)); background-color: var(--ad-bg);
border: 2px solid var(--ad-border);
border-radius: 10px;
box-sizing: border-box;
line-height: 1.7;
color: var(--ad-text);
transition:
background-color 0.3s ease,
border-color 0.3s ease,
box-shadow 0.3s ease,
transform 0.2s ease;
}
.house-creative a.between-posts-ad:hover .ad-container {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.house-creative .ad-label {
display: inline-block;
text-align: center;
margin-bottom: 6px;
padding: 4px 12px;
font-size: 0.85em;
font-weight: 700;
text-transform: uppercase;
background-color: var(--ad-label-bg);
color: var(--ad-label-text);
border-radius: 999px;
}
.house-creative .ad-container .ad-text {
margin: 0;
font-size: 1rem;
line-height: 1.9;
color: var(--ad-text);
direction: rtl ;
text-align: center !important ;
unicode-bidi: isolate;
}
@media (max-width: 480px) {
.house-creative .ad-container {
direction: rtl !important;
text-align: center !important;
padding: 16px 12px;
width: 100%;
max-width: 100%;
}
}
Horizon is not compatible with all components and plugins (yet).
while participating in a group
When not participating in a group
The header and sidebar designs appear to have changed due to the modernization of the Foundation theme.
I don’t know if this is the right place to post this but I like the way Horizon on Meta displays a couple of lines of each topic in category view. I can’t seem to reproduce it in my side and I’m not sure where to start looking. Thanks!!
can read about it here
9 posts were split to a new topic: RTL issue with @ placement in user names
2 posts were split to a new topic: Compact/Expanded view not working on Horizon
2 posts were split to a new topic: Horizon interaction with Brand Header
A post was split to a new topic: Flair issues on Horizon
A post was split to a new topic: Two-Level Subcategories Display Issue
I’m not sure if this is about Horizon or the Header Categories Navbar component. It was pointed out to me that the menu bar on Horizon starts far left, unlike in other themes (Foundation for comparison), which is weird on wide monitors.
Horizon:
Foundation:
Is this desired? Or something that might need fixing? I have to say that if the content width is constrained, it would seem logical to me not to have the menu bar start all the way over there to the left.









