Picture of Ben Simons
Mobile Narrative Not Working
by Ben Simons - Wednesday, 2 November 2016, 2:48 PM
 

Hi guys, 

I have a couple narrative in my course, and I didn't notice until today that when you put it into mobile view the strapline bar from the top seems to go missing. U

I have attached some images to show what I mean. When I look at inspect element I can see that Strapline-header-inner has an element style with margin-left: -383px. If I uncheck this box the narrative strapline appears again. Where would I find that element style? This is also happening on the click and learn Component. 

I'm working in framework by the way. 

Kind Regards,

Ben






Picture of Matt Leathes
Re: Mobile Narrative Not Working
by Matt Leathes - Wednesday, 2 November 2016, 3:31 PM
 

It's being set by this line of code.

Works OK for me in the out-of-the-box version of the framework though...

Picture of Ben Simons
Re: Mobile Narrative Not Working
by Ben Simons - Wednesday, 2 November 2016, 3:39 PM
 

Thanks Matt,

Hmmm that's very strange. I didn't change anything in the .js so why would it now not be working :S I'll have a deeper look into it.