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 9110509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:17:11+00:00 2026-06-17T03:17:11+00:00

FOUNDATION FRAMEWORK Q: Question – is there anyway to remove a .class on an

  • 0

FOUNDATION FRAMEWORK Q:

Question – is there anyway to remove a .class on an element when site is shown on mobile or tablet device? (i.e. anything below 768px?)

I could easily remove this with a few lines of js. But want my code to be properly formatted. So if there’s a way to do it within the foundation framework, I’d prefer to go that route.

Help? I know this is not necessarily a code question..but it sort of is. Hoping someone could enlighten me and point the way – if there is one.

  • 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-17T03:17:13+00:00Added an answer on June 17, 2026 at 3:17 am

    Use a browserdetect script (http://www.quirksmode.org/js/detect.html) to find out which version and browser you have (i.e. mobile safari) and then use jquery to remove the class from the elements.

    However, considering the fact that you are mentioning a class and below 768px I would suggest you to look into the media queries of css: http://css-tricks.com/css-media-queries/

    EDIT:

    turn your logic the other way around and use:

    @media screen and (min-width: 768px) {
      .class {
        background: #ccc;
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When calling hash on the built in NSData class in the foundation framework --
I'm having problems compiling the following program. I'm using gcc -framework Foundation inherit8.1m and
I've asked this question over in the SuperUser site, but thought I'd ask it
I am using the latest version of Zurb's Foundation prototyping framework. It isn't entirely
I'm using foundation framework 3.2. My content area takes 9 columns and a side
I'm using the Foundation framework and I want to make a navigation which takes
I am evaluating twitter bootstrap, foundation, and skeleton for a css framework. I am
I'm using the Foundation framework on my website and now i'm implementing the Sequence
I've been hired to develop a mobile framework for a webservice created by my
I'm using foundation framework for the first time and for the most part everything

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.