Jump to content

[HTML & CSS] WHY DOES THIS NOT WORK!

Go to solution Solved by sharknado34,

It is this line here that is causing your issue:

If you remove this line of css your mobile navigation menu displays when you adjust the size down again. So you need to modify this css line. 

image.png.656f8a68bc79ceb142ad2483c4954b75.png

7 minutes ago, sharknado34 said:

What exactly isn't working?

never mind i made it work.

by replace'ing this: 

    <a href="javascript:void(0);" class="icon" onclick="topnav1()"></a>
    <i class="fa fa-bars">☰</i>

with this: 

    <a href="javascript:void(0);" class="icon" onclick="topnav1()">☰</a>

 

 

Link to post
Share on other sites

11 minutes ago, WillLTT said:

when your in mobile mode

see the thing? the white expand bars are gone broken

see how the bars have just become a black box in the corner?

 

9.PNG

---------------------------------------------------------------------------------------------------------------------

sdgs.PNG

I am looking through it right now, for now here is a link that might help: https://www.w3schools.com/howto/howto_js_mobile_navbar.asp

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×