*** SOLVED *** NavBar from WWB20 will be displayed different in 21

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
sieweb
 
 
Posts: 157
Joined: Fri Oct 20, 2017 8:07 pm

*** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by sieweb »

Here is my problem (as WWB20 and WWB21 file):
https://my.hidrive.com/lnk/TfH4HYO2K
In WWB20 the three buttons will be displayed in one horizontal row as intended. In 21 there is a break after the second button and I can't find the reason for that.
Thank you again, horst
Last edited by sieweb on Mon Mar 30, 2026 8:38 pm, edited 1 time in total.
alan_sh
 
 
Posts: 1990
Joined: Tue Jan 01, 2019 5:50 pm

Re: NavBar from WWB20 will be displayed different in 21

Post by alan_sh »

In WWB21, you have padding for the layout grid. But removing that doesn't seem to fix it. Over to Pablo :)

Alan
alan_sh
 
 
Posts: 1990
Joined: Tue Jan 01, 2019 5:50 pm

Re: NavBar from WWB20 will be displayed different in 21

Post by alan_sh »

In the CSS files, there's a difference:

In the one for V20, we have this:

#NavigationBar1
{
display: inline-block;
width: 312px;
height: 30px;
z-index: 1;
}

In the one for V21, we have this:

#NavigationBar1
{
display: inline-block;
width: 308px;
}

No height and no Z-index. I don't know if it's something missing from the WBS file or a bug. But at least it's different.

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

Re: NavBar from WWB20 will be displayed different in 21

Post by crispy68 »

Since the navigation bar uses images, the images are bigger in 21 vs 20..... 101px vs. 100px based on the CSS code. Not sure, could be a calculation error. Pablo would need to see if this is the case. Stretching the menu bar results in the same thing. Simply reducing the size of the image by 1px in the CSS code fixes it.
User avatar
Pablo
 
Posts: 24597
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: NavBar from WWB20 will be displayed different in 21

Post by Pablo »

Thanks for the information and demo project.

I was able to reproduce the problem and implemented a fix for this in the latest build (3/30/2026)
https://www.wysiwygwebbuilder.com/download.html
sieweb
 
 
Posts: 157
Joined: Fri Oct 20, 2017 8:07 pm

Re: NavBar from WWB20 will be displayed different in 21

Post by sieweb »

Hey Pablo, you can put a *** SOLVED *** to that :D , thank you,
and thank you to all the others who had a look.
horst
User avatar
AliGW
 
 
Posts: 542
Joined: Thu Dec 19, 2024 3:41 pm

Re: NavBar from WWB20 will be displayed different in 21

Post by AliGW »

You can do that yourself by editing the opening post. :P
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
sieweb
 
 
Posts: 157
Joined: Fri Oct 20, 2017 8:07 pm

Re: *** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by sieweb »

Hey Ali, done :D
I'm suprised to meet you here - long time no see 8)
horst
alan_sh
 
 
Posts: 1990
Joined: Tue Jan 01, 2019 5:50 pm

Re: NavBar from WWB20 will be displayed different in 21

Post by alan_sh »

Pablo wrote: Mon Mar 30, 2026 6:54 am Thanks for the information and demo project.

I was able to reproduce the problem and implemented a fix for this in the latest build (3/30/2026)
https://www.wysiwygwebbuilder.com/download.html
Pablo, can you enlighten us as to what the issue was? I'm just curious and the whatsnew file doesn't really say.

Cheers

Alan
User avatar
AliGW
 
 
Posts: 542
Joined: Thu Dec 19, 2024 3:41 pm

Re: *** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by AliGW »

sieweb wrote: Mon Mar 30, 2026 8:40 pm Hey Ali, done :D
I'm suprised to meet you here - long time no see 8)
horst
Why surprised? Isn't this the most natural way to go for former WebPlus users? :P
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
User avatar
Pablo
 
Posts: 24597
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: *** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by Pablo »

Pablo, can you enlighten us as to what the issue was? I'm just curious and the whatsnew file doesn't really say.
It's a bit complicated to explain in detail, but in short: objects can generate different code depending on the context they are placed in (for example, whether they are absolutely positioned or inside a layout grid).

In previous versions, the navbar used its own logic to determine its size and position. In WWB21, this has been streamlined into a global process. However, the size calculation happened at the wrong moment. As a result, the width was calculated incorrectly.
alan_sh
 
 
Posts: 1990
Joined: Tue Jan 01, 2019 5:50 pm

Re: *** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by alan_sh »

Thanks
sieweb
 
 
Posts: 157
Joined: Fri Oct 20, 2017 8:07 pm

Re: *** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by sieweb »

AliGW wrote: Tue Mar 31, 2026 5:44 am Isn't this the most natural way to go for former WebPlus users? :P
Thumbs up!
alan_sh
 
 
Posts: 1990
Joined: Tue Jan 01, 2019 5:50 pm

Re: *** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by alan_sh »

sieweb wrote: Tue Mar 31, 2026 10:22 am
AliGW wrote: Tue Mar 31, 2026 5:44 am Isn't this the most natural way to go for former WebPlus users? :P
Thumbs up!
I'm another convert from WebPlus

Alan
User avatar
AliGW
 
 
Posts: 542
Joined: Thu Dec 19, 2024 3:41 pm

Re: *** SOLVED *** NavBar from WWB20 will be displayed different in 21

Post by AliGW »

It's good to know that friends from a bygone time are now here. :D
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
Post Reply