- This topic is empty.
December 14, 2018 at 11:17 pm #280209poporacer59Participant
I am trying to convert a template and I need a navigation bar that is on my main page to match and I pasted what I thought was the appropriate code and the navigation icons and text show, but the hover over and links do not work.
Here is the link to the code. I am sure I have it all messed up so excuse the mess I made…lol
https://codepen.io/poporacer/pen/pqyWKoDecember 15, 2018 at 12:15 am #280210BeverleyhParticipant
You seem to have dropped your whole codebase in there. We only need the part that isn’t working/displaying as desired, otherwise folks here browsing the forum in there spare time won’t take a second look. It takes us too long to filter out all the extra distractions so we need you to do that for us. That means stripping back the code to just the minimal amount of HTML, CSS and JS to illustrate the problem. Help us to help you.
the hover over and links do not work.
Please also be clearer about what exactly doesn’t work. We know that something doesn’t work otherwise you wouldn’t be here. Instead describe exactly what and how something isn’t working as desired, and also describe what you think it ought to be doing or looking like instead. You may need to provide a diagram.
Some general tips;
Also check letter-case, in all asset paths, filenames and extensions, and make sure that whatever they’re actually called, is what’s typed in your code. Windows isn’t a case-sensitive environment but Unix is. It’s common for new developers to start making a website on a home Windows computer (where everything works fine) and then they upload to a web host, but because most webhosts use a Unix OS, their code breaks there.
Assets/Images/Photo.JPGisn’t the same as
assets/images/photo.jpg. Again, the developer toolbar can help you in cases like these as it can show you what assets are and aren’t loading. So if a menu is relying on a JS file that is named/coded differently, and therefore not loading, this could be the cause of your woes.
Good luck with your project.December 15, 2018 at 11:54 am #280219poporacer59Participant
Thanks for your response. I found the problem when I was parsing the code and deleting elements that were not relevant.
- The forum ‘CSS’ is closed to new topics and replies.