Page 1 of 1

Home icon in Navbar

Posted: Tue Jan 03, 2023 8:53 am
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

Re: Home icon in Navbar

Posted: Wed Jan 04, 2023 4:13 am
by chrispitude
Hi Swapna,

Where you do want the home icon to link to? The home page of the WebHelp publication?

Re: Home icon in Navbar

Posted: Wed Jan 04, 2023 3:02 pm
by Swapna
Hi Chris,

I want the home icon in the topic pages of the webhelp publication...on the menu bar

Re: Home icon in Navbar

Posted: Wed Jan 04, 2023 6:45 pm
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

Re: Home icon in Navbar

Posted: Thu Jan 05, 2023 12:33 pm
by Swapna
It worked...Thanks Alin