Top Nav Header logo on OtherTopics

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
ajturnersurrey
Sr. Propeller Head
Posts: 348
Joined: Fri Nov 05, 2010 3:30 am

Top Nav Header logo on OtherTopics

Post by ajturnersurrey »

In the spam clear up my post from yesterday seems to have disappeared so I will try again...

I have been following the process to move old html5 output into a top nav format. All is working nicely and the home page looks good. But I have no logo in the header on my OtherTopics (ie. the ones other than the home page).

The logo in the header is there in the topnav skin which is applied to the target, and I can't find any separate settings for a topics header, so I thought I must have overriden it somewhere ... but I cannot figure out where! There is nothing I can see about the OtherTopics master page which might override a header in the skin.

Is there anyone able to suggest places to check, which I might not have thought of ... ?
ajturnersurrey
Sr. Propeller Head
Posts: 348
Joined: Fri Nov 05, 2010 3:30 am

Re: Top Nav Header logo on OtherTopics

Post by ajturnersurrey »

I have now solved this one. So for others it might benefit

I had included the following in my stylesheet, for the benefit of printing (as recommended in the Madcap example of conversion to topnav)

Code: Select all

nav.tab-bar div.sideContent
{
display:none;
}
This was in the default section of my stylesheet (because print is my 'default' and 'non-print' is the medium for the online help output). As I had no non-print equivalent to override it, it was making it through to my compiled stylesheet for online help.

So I chose to remove this display condition on nav.tab-bar from this section and instead include the following in the '@media non-print' section of my stylesheet:

Code: Select all

div.navigation-wrapper
{
display:none;
}
which prevents the top nav menu from showing, but leaves the logo in the tab-bar for my topic pages.
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: Top Nav Header logo on OtherTopics

Post by kwag_myers »

Thanks for posting, you just solved a big problem for me. The mockup I'm working from calls for a different color logo on topic pages and I couldn't figure out how to do that. Now I can use your code to omit the top nav from the topic pages and should be able to replace it with a div.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Top Nav Header logo on OtherTopics

Post by doc_guy »

Am I being dense here thinking that the solution is to put the logo in the master page, and then use separate master pages for your different types of content? Or did I not understand the question?
Paul Pehrson
My Blog

Image
ajturnersurrey
Sr. Propeller Head
Posts: 348
Joined: Fri Nov 05, 2010 3:30 am

Re: Top Nav Header logo on OtherTopics

Post by ajturnersurrey »

One way round would be to do away with the top bar and include the logo in any master pages ... but I had a nicely working logo in the top bar of the skin on the home page and wanted to make that work on other pages too. (Always prefer defining something in just one place, if I can!)
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: Top Nav Header logo on OtherTopics

Post by kwag_myers »

Same here, I really don't want to go back and re-code two Masterpages that are working exactly as I want them to. I also had the menu to contend with. The home and section pages have a white logo and menu labels with a tinted photo background. The topic page has a white background. I'll probably just use links in place of the menu for topics since I have the TOC in a side container (like Flare's Online Help).

But since you've brought it up, how does one omit the top nav and put everything in Masterpages?
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Top Nav Header logo on OtherTopics

Post by NorthEast »

kwag_myers wrote:But since you've brought it up, how does one omit the top nav and put everything in Masterpages?
To omit top nav, just set the target skin to (none).

Then you just add your skin components to your master pages; i.e. insert the skin proxy you want, where you want.
IFU
Propeller Head
Posts: 51
Joined: Tue Dec 05, 2017 5:28 pm
Location: Vancouver BC

Re: Top Nav Header logo on OtherTopics

Post by IFU »

Is there a way to use the same class for the logo on the home page as for the logo on the other pages?

On the home page, it is
<div class="logo-wrapper"><a class="logo selected" href="#" alt="Logo"></a></div>

On the other pages, it is
<div class="logo-wrapper"><a class="logo" href="Home.htm" alt="Logo"></a></div>

This is a request from our testing team - would help them out with their automated testing.

thanks
Isabelle
Post Reply