CSS Menu stopped working

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

CSS Menu stopped working

Post by zinovy77 »

Hi,

I have a CSS Menu that stopped working on multiple browsers, not sure how long ago - but probably a couple of weeks. I did modify .htaccess file, but even during preview it does not show right, and htaccess file is not used at that point. Maybe also added some metatags for SEO - that's all I can think of.

This CSS Menu is only visible with breakpoint of 768px, the name is CssMenu3, located in the upper right corner of the page. When i move cursor over it, it does not pop out - just changes color, and clicking has no effect.
https://purespringmedical.com <<also on all other subpages pages it does not work>>

the file name is https://purespringmedical.com/CMC-V16-A.wbs

Could you please look into it to see what is the problem?

Thank you so much for your help,

Isaac
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: CSS Menu stopped working

Post by Pablo »

In the Page HTML, you have added

Code: Select all

<html lang = "en">
this is not correct, it breaks the structure of the page!
User avatar
crispy68
 
 
Posts: 2729
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: CSS Menu stopped working

Post by crispy68 »

As Pablo stated, you have invalid code entered. The top of your code looks like this:


<html lang = "en"><!doctype html>
<html lang="en-us">
<head>


The code you added in red is causing the 'doctype' to not work which is causing the menu to not work. The doctype should be the first thing. Remove the code in red so it looks like this:

<!doctype html>
<html lang="en-us">
<head>
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

Re: CSS Menu stopped working

Post by zinovy77 »

I deleted it even before, but it is stuck in there somehow (I added a !doctype html to fix it):
Left is from the WYSIWYG editor; right is source code generated:

Image

I tried changing the page and regenerating it, but it did not help.

How do I get rid of that piece of code?
User avatar
crispy68
 
 
Posts: 2729
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: CSS Menu stopped working

Post by crispy68 »

You do not need to add the code yourself.

1. make sure Document Type in the page properties is set to HTML5. This will add the doctype.
2. Check the Page HTML and Site HTML to make sure you have not added the code in one of these places.
3. Check to make sure you have no other HTML objects on the page where this may have been added.

update:
I just downloaded your file and you have the code under page HTML at the start of the page. Remove it and your good.
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

Re: CSS Menu stopped working

Post by zinovy77 »

I don't see it there for some reason - it looks blank, but it still puts in the actual HTML code (see the pics). This is why I inserted the <!doctype html>
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: CSS Menu stopped working

Post by Pablo »

Please remove all code you have manually inserted.
You do not need to add the code yourself.

By duplicating the code, you will break the HTML structure and things may stop working,.
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

Re: CSS Menu stopped working

Post by zinovy77 »

Thanks, I figured it out - it was getting this line from the master page that the page was using, but it was not showing it on the actual page. I deleted it from the master page, and everything got fixed. Thank you again.
Post Reply