Bookmark different from bootstrap menu

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
Bucky108
 
 
Posts: 25
Joined: Mon Apr 20, 2020 8:15 pm

Bookmark different from bootstrap menu

Post by Bucky108 » Thu May 14, 2020 7:36 pm

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?

User avatar
crispy68
 
 
Posts: 1052
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Bookmark different from bootstrap menu

Post by crispy68 » Thu May 14, 2020 7:38 pm

Are you using the bookmark object or did you set the layout grid as the bookmark?

Bucky108
 
 
Posts: 25
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 » Thu May 14, 2020 7:48 pm

Used a layout grid as the bookmark.

User avatar
crispy68
 
 
Posts: 1052
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Bookmark different from bootstrap menu

Post by crispy68 » Thu May 14, 2020 9:53 pm

The bookmark offset in the layout grid is not responsive so you cant have different offsets in breakpoints. However, the bookmark object can.

Bucky108
 
 
Posts: 25
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 » Fri May 15, 2020 12:46 am

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.

User avatar
crispy68
 
 
Posts: 1052
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Bookmark different from bootstrap menu

Post by crispy68 » Fri May 15, 2020 1:07 am

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?

Bucky108
 
 
Posts: 25
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 » Fri May 15, 2020 3:10 am

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.

User avatar
Pablo
 
Posts: 21525
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Bookmark different from bootstrap menu

Post by Pablo » Fri May 15, 2020 6:18 am

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.

Bucky108
 
 
Posts: 25
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 » Fri May 15, 2020 12:58 pm

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?

User avatar
Pablo
 
Posts: 21525
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Bookmark different from bootstrap menu

Post by Pablo » Fri May 15, 2020 1:03 pm

You can consider using different bookmark (and a different menu) for breakpoints.

Bucky108
 
 
Posts: 25
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 » Fri May 15, 2020 1:10 pm

Good idea...I'll try that.

Thanks.

User avatar
BaconFries
 
 
Posts: 4926
Joined: Thu Aug 16, 2007 7:32 pm

Re: Bookmark different from bootstrap menu

Post by BaconFries » Fri May 15, 2020 2:30 pm

Similar question see bluesman's reply it may or may not be of use.
https://www.wysiwygwebbuilder.com/forum ... =bookmarks

Bucky108
 
 
Posts: 25
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 » Fri May 15, 2020 7:10 pm

Per Pablo's suggestion I added a panel menu in the breakpoint view and that worked well.

Post Reply