Header adjustment

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Header adjustment

Priyanka_Mallu


Hi Pedro,

I have attached one image.
How to adjust the red heading?
As the replies increases the heading gets cut out.
How to rectify the issue?

Thank you,
Regards,
Priyanka
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

GregChapman
I think Pedro will need more information. I'm not quite sure what you are asking for.

Regardless of what you remove or make smaller on the message header bar people can always manage to write longer subject lines than space allows on their particular screen (as I have attempted to do on this post).

What do you want to happen with a long subject line?

What do you want to do when someone views even your short subject in a window that is so narrow the subject disappears?
Just a Volunteer Nabble Helper - because the nice folk at Nabble have helped me!
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

Harvey
GregChapman wrote
Regardless of what you remove or make smaller on the message header bar people can always manage to write longer subject lines than space allows on their particular screen (as I have attempted to do on this post).
I put in a "max length" parameter to help with this issue.
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

Priyanka_Mallu
Hi Harvey,
It would be very kind of you if you could help me out.
Thank you
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

Pedro <Nabble>
In order to do the Harvey's suggestion, you can edit your subject_control macro:
<override_macro name="subject_control">
    <div class="field-box light-border-color">
        <div class="second-font field-title"><t>Subject</t></div>
        <div class="weak-color">
            <n.subject_field.input type="text" size="60" maxlength='50' tabindex="1" />
        </div>
    </div>
</override_macro>
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

Priyanka_Mallu
This post was updated on .
Thanks Pedro and Harvey.

How to reduce the font size of the heading?

How to remove the heading from the reply section?
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

Pedro <Nabble>
In order to  remove the heading from the reply section and reduce the font size of the heading, add this code to your css:
.macro_reply :nth-child(1){
display: none;
}

.classic-subject-line .post-subject {
font-size:5px;
}
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

Priyanka_Mallu
That's perfect. Thanks a ton Pedro !
Reply | Threaded
Open this post in threaded view
|

Re: Header adjustment when you have a really terribly long subject line to a message that goes on and on forever and ever and ever and ever and ever

Priyanka_Mallu
In reply to this post by Pedro <Nabble>

 
Pedro this is how the heading looks like after adding the CSS.

Thank you