Subtitle issue

658
6
05-13-2014 11:18 AM
JosephCartier
New Contributor
Hello,
Using Storytelling Maps template I added an image to the Subtitle area of the index.html as to display a legend and it worked great.  However I have created an image that contains the Title as well.  I have placed the image in the Header section but the subtitle overwrites part of the image.  How can I remove the Subtitle in the index file?


// The application header title, if no title is specified, the webmap's title is used
title: '<img width="1500" height="96" src="-FullBanner1_Blend.jpg">',
// The application header subtitle, if not specified the ArcGIS.com web map's summary is used
subtitle: "",

Thanks,
Joe
0 Kudos
6 Replies
GregoryL_Azou
Occasional Contributor III
Setting the subtitle to a white space character or an empty html element like "<div></div>" should do the trick.
0 Kudos
JosephCartier
New Contributor
Setting the subtitle to a white space character or an empty html element like "<div></div>" should do the trick.


ok I tried  subtitle: "<div></div>",  but this did nothing.  Any other suggestions?  I've tried to expand the height of the image in the title but that didn't seem to do anything either......

is this what you mean by white space   "  ", ?


thanks for your help!
JC
0 Kudos
GregoryL_Azou
Occasional Contributor III
Is your issue that your title isn't tall enough? You probably want to control it's height through CSS:

#headerDesktop .title {
 height: 80px;
}


If you don't want any subtitle, you have to set it to something like " " or "<div></div>" otherwise it will use web map default.
0 Kudos
JosephCartier
New Contributor
I need the subtitle border box to be removed so as to see the whole image I have inserted into the title....I have seen this done on other Story maps but I wasn't sure how the programmer did this.....
0 Kudos
GregoryL_Azou
Occasional Contributor III
ok so you just have to follow those instructions with the code above.
0 Kudos
JosephCartier
New Contributor
That's what I was looking for!! Thank you very much!
0 Kudos