Viewing Editing the Navi Bar

Editing the Navi Bar



User: Roddy 12 years ago
I posted a bug.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 12 years ago
The next beta release (beta 23) will give the navbar a class of ewnavmenu which means you will be able to easily apply styles to the navigation menu without worrying about finding the proper menu id.

-------------------------------
Paul
EverWeb Developer
User: Christopher 12 years ago
Excellent. Keep up the good work!

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Christopher 12 years ago
[quote="Paul-RAGESW":3auk0t2e]The next beta release (beta 23) will give the navbar a class of ewnavmenu which means you will be able to easily apply styles to the navigation menu without worrying about finding the proper menu id.[/quote:3auk0t2e]
How? I'm ready to do this now. I just spent the last 2 days copying over my content in a brand new site so that there would be no moving menus around or rearranging. Roddy, your code still doesn't work. Given the change with EW should it read differently now?

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Roddy 12 years ago
This was hiding in the topic - RE: TEMPLATES WITH DROP-DOWN MENUS...

Quote:

FYI, the ID fix just mentioned will be released in beta 24 so its not there yet.


-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Christopher 12 years ago
[quote="Roddy":1dr4rcqx]This was hiding in the topic - RE: TEMPLATES WITH DROP-DOWN MENUS...

Quote:

FYI, the ID fix just mentioned will be released in beta 24 so its not there yet.
[/quote:1dr4rcqx]
Yeah, I came across that later. Oh well.

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Roddy 12 years ago
When I implied that nobody in their right mind would want two navigation menus I completely forgot about me!

I use two in a responsive site - one for the desktop/laptop viewing and another for mobile devices - and switch between them using media queries.

I would normally give them IDs like #nav and #mobi-nav and that would take care of it.

In its present form the ew nav has both a class and an ID. I pointed out that the class was not helpful since ID wins over class in the cascade of styles. Paul retaliated by pointing out that all we needed to do was use "!important" in each rule like this...

p {color: red !important;}

... since this will be applied even if it is followed by...

p {color: black}

This is true but to have to use "!important" on every rule to change the navigation is kind of ridiculous.

The problem will be solved if the menu is given an ID like "#ew-menu_0" and this does not change no matter what crazy things a user may do.

If the user drags a navigation widget onto a page, this would then be "#ew-menu_1" and so on. If said user doesn't know what they are doing and gets totally mixed up by adding menus when there is no reason for it then he/she has no alternative but to blame his/her own stupidity for the mess.

I think too many people are jumping into EasyWeb thinking that, because they know their way around iWeb, they can easily master EW without actually attempting to find out how it works. Ex iWeb users are probably more inclined to make stupid mistakes than complete beginners who will, at least, consult the instructions. Look at all the problems that are being created by those who are attempting to rebuild their iWeb sites in a really lazy fashion. Why would they want to copy the contents of a redundant site to an avant-garde one! Anyway, I digress and will continue this rant with my therapist - when I find one who can handle my particular insanity.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Christopher 12 years ago
We are now on Beta 24, I've rebuilt my site so that directories are in correct order, and Roddy's code is still not working. See pg 1 of this thread for his example code. Should "#navmenu_menu0" be something else now? I've tried 0, 1, 2... with no success. I'm pasting it into the Head Code on the page where I placed my Nav bar. My pg 1 is an intro page. My pg 2 has the nav bar.

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Roddy 12 years ago
The nav bar on your home page is #navmenu_menu6 so this is what you need to use in the overwrite CSS.

The problem is that not all the navs have the same ID number. One of the pages for example is #navmenu_menu22

We are told that this has been fixed but has it?

Even if it has, you would need to delete all the navigation, set up a new one on one page and then paste it to all the rest.

Both the navigation ID and the directory issue really need to be fixed as they are causing a lot of confusion.

I am in a total state of confusion all the time so I am used to it but apparently most other people are not and like things to work logically.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Christopher 12 years ago
Madness, this is madness! I copied everything into a brand new project for this very reason. How on earth is my first nav menu number 6 and one of them 22??

If, however, this gets sorted out and all I have to do is redo one Nav bar then copy it a dozen times, so be it.

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Roddy 12 years ago
I thought it was supposed to sorted but I don't see any difference.

We were informed that the first menu created would now be 0 and this would only change if another menu widget was used!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Roddy 12 years ago
I just tested the navigation menu with a new site using beta 24 and it seems to work as planned.

I don't know what would be the recommended method of getting rid of all your old versions with the various ID numbers.

I would probably delete the whole lot, save and then publish to a local folder to make sure they are all gone.

Then add a new menu and, before you even bother to style it, publish to a local folder, open in the browser or an editor and check the code to make sure the ID is 0.

Then style and copy to the other pages.

Then be happy and smile for the rest of the day!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 12 years ago
For any old website just go to the File menu and select Publish Entire Site so that all pages are updated.

You shouldn't have to delete any navbars and recreate them.

If this does not work, please send me your project file so I can test it here.

-------------------------------
Paul
EverWeb Developer
User: Roddy 12 years ago
@Paul
If you look at the source of Chris's site you will see the different ID numbers...

http://cleetche.com/introduction/index.html - #navmenu_menu6

http://cleetche.com/documentaries/beach-hawkers.html - #navmenu_menu22

http://cleetche.com/photos/index.html - #navmenu_menu2

http://cleetche.com/shorts/euphoria.html - #navmenu_menu14

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Christopher 12 years ago
I'm going to try Paul's suggestion and republish entire site. I'll then try pasting the code I'm using to restyle my Nav bar on the different pages. It currently works on pg one, using #navmenu_menu6. I'll try reverting that to #navmenu_menu0. If that doesn't work, I'll send you my site.

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com


Post Reply
You must login or signup to post.