You need to sign in to do that
Don't have an account?
Ray Zhao 3
How to make <apex:sectionHeader> tag wrap?
My title is too long, and it runs off the page. I used <apex:header title="{!Troubleshooting__kav.title}" /> tag. The title is a Text(255) field. I need to make the title Wrap around 80 characters. Tried a few things without success... Any help is appreciated. Thanks! ray
<apex:sectionHeader title="{!Troubleshooting__kav.title}"/>
with:
<div class="tabArticleRenderer">
<span id="j_id0:j_id8">
<div id="j_id0:j_id8:j_id9:j_id50" class="articleRendererHeader">
<div class="bPageTitle">
<div class="ptBody secondaryPalette brandSecondaryBrd">
<div class="content">
<img src="/s.gif" class="pageTitleIcon" title="Article" alt="Article" />
<h1 class="pageType noSecondHeader">{!Troubleshooting__kav.title}</h1>
</div>
</div>
</div>
</div>
</span>
</div>
It's now displaying the long titles with wrapped text.
All Answers
<apex:page standardController="Troubleshooting__kav" extensions="AuditTroubleshootAccess">
<apex:sectionHeader title="{!Troubleshooting__kav.title}"/>
<knowledge:articleRendererToolBar articleId="{! $CurrentPage.parameters.id}" showChatter="true" />
<div class="bPageTitle">
<div class="ptBreadcrumb">« <a href="/_ui/knowledge/ui/KnowledgeHome?search=">Back to Knowledge Search</a>
</div>
</div>
<apex:pageBlock title="Information: Troubleshooting">
</apex:pageBlock>
</apex:page>
<apex:sectionHeader title="{!Troubleshooting__kav.title}"/>
with:
<div class="tabArticleRenderer">
<span id="j_id0:j_id8">
<div id="j_id0:j_id8:j_id9:j_id50" class="articleRendererHeader">
<div class="bPageTitle">
<div class="ptBody secondaryPalette brandSecondaryBrd">
<div class="content">
<img src="/s.gif" class="pageTitleIcon" title="Article" alt="Article" />
<h1 class="pageType noSecondHeader">{!Troubleshooting__kav.title}</h1>
</div>
</div>
</div>
</div>
</span>
</div>
It's now displaying the long titles with wrapped text.