Page 1 of 1

Massively 2.1 - "Jump In" Point for static pages

Posted: Thu Mar 05, 2020 9:36 pm
by Philipp
Hello Bludit Board...
I´m very new to Bludit, and even more new to this forum... so this is my first question to this board.
Please excuse me, if I ask a stupid or easy question.
I really did my best solving it on my own... but without the desired outcome.
Hopefully, someone can give me a hint, where I could search for the parameters to achieve the following change in behavior:
With Bludit 3.11.0 and Massively 2.1 the following behavior seems to be standard:
On site-load, or on re-load by clicking on "Homepage" the site loads with the nav-bar on the very bottom.
It has a bit the look of the OSX Dock...
Image

If a static page, in this example "About" is clicked, the page is loaded but moved just under the navigation bar...
Image

How can I modify the Theme, that a static page is loaded with the nav-bar just shown?
Like this:
Image

Or like the Massively Demo is suggesting:
Image

I already spent days searching the right code to modify, but my limited capabilities in ... there the problem starts... is it a jquery-thing? js?
If somebody could give advice, would be highly appreciated!
Many thanks in advance!
Best
Philipp

--edited (Adding photos to board messages also seems difficult to me)

Re: Massively 2.1 - "Jump In" Point for static pages

Posted: Fri Mar 06, 2020 12:50 am
by Edi
It seems that the upload of images didn't work...

Re: Massively 2.1 - "Jump In" Point for static pages

Posted: Fri Mar 06, 2020 1:31 pm
by Philipp
Thanks for the Info, Edi...
Now the pictures should be visible :-)

Re: Massively 2.1 - "Jump In" Point for static pages

Posted: Mon Mar 09, 2020 5:59 pm
by Philipp
Ok... I found out, that I can change the"#main" tag in the page-links to "#header" to get the result as shown on the Massively Demo Page.
I did this on the Theme index.php line 61

Code: Select all

<li class="<?php echo ($staticPage->permalink()==$page->permalink())?'active':'' ?>"><a href="<?php echo $staticPage->permalink() ?>#main"><?php echo $staticPage->title() ?></a></li>
This does, at least, half of the job for me :-)
The page loads now like this:
Image
Is there a way to define the position more exact?

As I understand it, the #header tells the page to jump to a position by focusing the header section, right?
Would it be possible, to add an empty "object" called i.e. "jumppoint" and use this as the desired load position?
Any advice is highly appreciated!
Many Thanks in advance
Philipp

Re: Massively 2.1 - "Jump In" Point for static pages

Posted: Fri Mar 13, 2020 10:42 pm
by Philipp
I solved it...
added an additional tag in the nav area and pointed to that.