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: 122
Joined: Mon Apr 20, 2020 8:15 pm

Bookmark different from bootstrap menu

Post 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?
User avatar
crispy68
 
 
Posts: 2729
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Bookmark different from bootstrap menu

Post by crispy68 »

Are you using the bookmark object or did you set the layout grid as the bookmark?
Bucky108
 
 
Posts: 122
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 »

Used a layout grid as the bookmark.
User avatar
crispy68
 
 
Posts: 2729
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Bookmark different from bootstrap menu

Post 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.
Bucky108
 
 
Posts: 122
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post 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.
User avatar
crispy68
 
 
Posts: 2729
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Bookmark different from bootstrap menu

Post 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?
Bucky108
 
 
Posts: 122
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post 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.
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Bookmark different from bootstrap menu

Post 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.
Bucky108
 
 
Posts: 122
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post 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?
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Bookmark different from bootstrap menu

Post by Pablo »

You can consider using different bookmark (and a different menu) for breakpoints.
Bucky108
 
 
Posts: 122
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 »

Good idea...I'll try that.

Thanks.
User avatar
BaconFries
 
 
Posts: 5316
Joined: Thu Aug 16, 2007 7:32 pm

Re: Bookmark different from bootstrap menu

Post by BaconFries »

Similar question see bluesman's reply it may or may not be of use.
https://www.wysiwygwebbuilder.com/forum ... =bookmarks
Bucky108
 
 
Posts: 122
Joined: Mon Apr 20, 2020 8:15 pm

Re: Bookmark different from bootstrap menu

Post by Bucky108 »

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