Page 1 of 1

Bookmark different from bootstrap menu

Posted: Thu May 14, 2020 7:36 pm
by Bucky108
If I link to a bookmark to, for example, to a layout grid from a regular themable menu the bookmark works correctly. In my case, I added an offset of 50 pixels to adjust it slightly.

However when the screen is smaller (i.e like on a phone) and the bootstrap menu shows the bookmark does not go to the same spot on the screen.
If in design mode I look at the screen from a breakpoint and change the offset, it changes for both views.

Is there any way around this?

Re: Bookmark different from bootstrap menu

Posted: Thu May 14, 2020 7:38 pm
by crispy68
Are you using the bookmark object or did you set the layout grid as the bookmark?

Re: Bookmark different from bootstrap menu

Posted: Thu May 14, 2020 7:48 pm
by Bucky108
Used a layout grid as the bookmark.

Re: Bookmark different from bootstrap menu

Posted: Thu May 14, 2020 9:53 pm
by crispy68
The bookmark offset in the layout grid is not responsive so you cant have different offsets in breakpoints. However, the bookmark object can.

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 12:46 am
by Bucky108
I see. The problem is if I put the bookmark at the top of the layout grid it positions too far up the page.

That wouldn't be a problem if the offset worked but it doesn't seem to work for a bookmark.

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 1:07 am
by crispy68
Without seeing what you are exactly trying to do it is hard to say the best way to tackle it. Can you provide a sample project?

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 3:10 am
by Bucky108
For example use the page from the coffeetime template with the break point. "About" from the menu goes to the "about" layout grid object. I added 90 to the offset. That works fine as long as he 480 breakpoint is not hit. Once it hits that, like on a phone display, the breakpoint does not work. If I try to use a bookmark, I cant get it to work exactly because the offset doesn't seem to work for bookmarks.

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 6:18 am
by Pablo
The offset in bookmark is controlled by JavaScript, so it is the same for all breakpoints. You cannot specify a different value for smaller screen.

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 12:58 pm
by Bucky108
Pablo - I'm taking from this then that it's probably impossible have bookmark works properly across break points in a single page design.

Is that true .. or is there another approach?

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 1:03 pm
by Pablo
You can consider using different bookmark (and a different menu) for breakpoints.

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 1:10 pm
by Bucky108
Good idea...I'll try that.

Thanks.

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 2:30 pm
by BaconFries
Similar question see bluesman's reply it may or may not be of use.
https://www.wysiwygwebbuilder.com/forum ... =bookmarks

Re: Bookmark different from bootstrap menu

Posted: Fri May 15, 2020 7:10 pm
by Bucky108
Per Pablo's suggestion I added a panel menu in the breakpoint view and that worked well.