• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Overlay Sub-Headings

Amaury

Well-known member
#1
How can I make some of the overlays that use the heading styling for the sub-heading use the sub-heading styling instead?

So, for example, one of the areas it's like this is the multi-quote overlay. How can I make the "Drag messages..." sub-heading be the same style as the sub-heading on the Moderation Actions overlay (Moderator, Action, Date)?

KHF Overlay 1.PNG KHF Overlay 2.PNG

Hope this makes sense.
 

Amaury

Well-known member
#3
Thanks, Brogan.

I figured it out while I was working on our framework. All this time I had been making the heading and sub-headings the same background color for consistency reasons, and I just figured out that was the cause of the "issue."
 

Amaury

Well-known member
#4
@Brogan, I don't remember if this is how @mike406 did it on KH-Flare 2014, but I just wanted to let you know I got it "fixed."

Since it's a conscious choice to have headings and sub-headings be the same color and whatnot, I simply changed this:

Code:
<h3 class="subHeading multiQuoteDragHeading">{xen:phrase drag_messages_to_rearrange_for_quoting}</h3>
To this in the thread_multi_quote_overlay template:

Code:
<h3 class="sectionFooter multiQuoteDragHeading">{xen:phrase drag_messages_to_rearrange_for_quoting}</h3>
And I can just do the same for other areas like that. From looking at it further, the Moderator Actions one--the gray bar in my OP's second screenshot--uses primaryContent for its class, so I really can just use anything that's not a header-type styling. :)

KHF Drag.PNG