on 09-01-2015 7:43 AM
Hi Experts,
Please advice how to TLN names to display into two or three lines.
Eg: I have a role with 2 tabs in the First Level Navigation, tab names are appearing in a single line.
Say.. Detailed Information Administration and Development
I want them to display in First level navigation as below.
Say... Detailed Adminstration
Information and
Development
Please advice.
Thank you
Ambica.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ambica,
Have you tried changing the style of the tabs?
Your requirement should be achievable using CSS.
Best Regards,
Rohit Singhal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ambica,
You would have to create a custom CSS, and include it when the TLN component is called.
Changes that you need to do:
1. Find out if there is any common class for all Level 1 tabs in TLN. (Let's assume class name is: level1
2. Then set the CSS as:
.level1{
width: 100px;
text-align: center;
word-wrap: normal;
}
Here the text align will set the text in the middle of the tab. By setting a fixed value of width and then using word-wrap the required effect can be achieved.
Also you might face an issue, where the style changes don't get reflected; this is because there could be some other CSS (inline/external) which is overwriting it. To overcome this, you can add !important tag after each style.
Do let me know in case of any concerns.
Best Regards,
Rohit Singhal
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.