Home icon in Navbar

Post here questions and problems related to editing and publishing DITA content.
Swapna
Posts: 5
Joined: Tue Jan 03, 2023 8:49 am

Home icon in Navbar

Post by Swapna »

Hi ,

I am trying to display a home icon along with the menu items in the navbar, in the web responsive output.
Please help
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

Re: Home icon in Navbar

Post by chrispitude »

Hi Swapna,

Where you do want the home icon to link to? The home page of the WebHelp publication?
Swapna
Posts: 5
Joined: Tue Jan 03, 2023 8:49 am

Re: Home icon in Navbar

Post by Swapna »

Hi Chris,

I want the home icon in the topic pages of the webhelp publication...on the menu bar
alin
Site Admin
Posts: 268
Joined: Thu Dec 24, 2009 11:21 am

Re: Home icon in Navbar

Post by alin »

Hello,

The Oxygen WebHelp output can be customized by inserting custom HTML content into designated placeholders available throughout the layout of the output HTML pages. You can read more about this customization method in our User Manual: https://www.oxygenxml.com/doc/versions/ ... -html.html
The webhelp.fragment.before.top_menu HTML Fragment placeholder allows you to insert custom HTML content before the menu component in each output page.

I have created a sample Publishing Template that addresses your use case. It is available here: https://github.com/oxygenxml/oxygen-pub ... -home-link

Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Swapna
Posts: 5
Joined: Tue Jan 03, 2023 8:49 am

Re: Home icon in Navbar

Post by Swapna »

It worked...Thanks Alin
Post Reply