Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9020987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:09:03+00:00 2026-06-16T05:09:03+00:00

Site in question: http://www.mtthwbsh.com I’m building a collapsable nav for this site and have

  • 0

Site in question: http://www.mtthwbsh.com

I’m building a collapsable nav for this site and have noticed that after it collapses, if you expand and retract it and enlarge the window again the nav disappears. I tried changing the display to block at my media queries but I think the jQuery is overriding it. Any idea what’s causing this?

Also, I’d like the arrow to rotate 180 degrees when clicked, how would I target this? My jQuery is as follows:

/* toggle nav */
$("#menu-icon").on("click", function(){
$(".nav").slideToggle();
$(this).toggleClass("active");
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:09:04+00:00Added an answer on June 16, 2026 at 5:09 am

    $(".nav").slideToggle(); appears to be leaving the nav in a display:none; state. When you set tried to set the display:block; in your media query did you use !important?

    Edit

    If your screen size less than 570px needs to be toggled, then you need to make sure that at any size above 570px it will be set in CSS to display:block;

    @media (min-width:571px) {
        .nav { display:block!important; }
    }
    

    This should adequately override the display property.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Link to site in question: http://www.christopherwarrington.com/testing_ground I have a start screen that is set
Site in question: http://www.blues-n-brews.com/paypal_receipt.php?tx=17G30980M69737722 I have this: <div id=print_special style=width: 1050px; zoom: 0.8; margin:
Hey everyone, here is the site in question: http://www.myvintagesecret.com/ I have a bunch of
Background: Suppose I have a website that is hosted on http://www.example.com and the site
looking at this site: http://www.gofundme.com/sign-up/ they have a nice 'amount' input where you can
I'm currently doing the redesign for this site: http://www.palosverdes.com/rpv2012/ and have run into a
I have this site http://www.taranmarlowjewelry.com/ ....notice when you first goto the site, look at
I need to do this: I have an old URL: http://www.mysite.com/dev-site/some-content-part-here That I want
I have this web-site -> http://www.krlja-ustvari.hr It works 'perfect' in Google Chrome. By 'perfect'
My profiles on google analytics is http://example.com (don't have www ). And this script

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.