• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Browser-specific CSS to hide slider nav

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Browser-specific CSS to hide slider nav

This topic is: not resolved

Tagged: target ie7

  • This topic has 5 replies, 3 voices, and was last updated 12 years, 5 months ago by jodzeee.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 10, 2013 at 11:58 pm #45179
    jodzeee
    Member

    I've just discovered that the responsive slider is not friendly with IE7. It seems to work okay, but the navigation buttons are vertical. Is there a way to target them in the CSS and change it to display:none for just users viewing with IE7?

    June 11, 2013 at 5:46 am #45207
    rfmeier
    Member

    Hello,

    I am guessing the navigation buttons are inline-block since they stack in IE7? There are specific ways to target IE versions through css. These are mostly considered hacks, but here are a few decent references. I wouldn't sweat IE 7 too much.

    CSS Specific for Internet Explorer

    How To Create an IE-Only Stylesheet

    I hope this helps.


    Ryan Meier – Twitter

    June 14, 2013 at 9:39 am #45915
    surefirewebserv
    Member

    There's lots of IE7 hacks, but now a days there are more and more companies just not supporting it. Especially since ie10 is already out.

    Ask yourself if you absolutely even need it to work in ie7 based on your traffic. Just see what browser their using.

    Otherwise, you can add a style sheet specifically for ie like so:

    ie7 only

    <!--[if IE 7]>
    	<link rel="stylesheet" type="text/css" href="ie7.css">
    <![endif]-->

    and ie 7 and lower:

    <!--[if lte IE 7]>
    	<link rel="stylesheet" type="text/css" href="ie7-and-down.css" />
    <![endif]-->

    SureFireWebServices.com | Genesis Tuts and More
    Genesis Theme Starter Kit | It’s Free

    June 14, 2013 at 12:07 pm #45943
    jodzeee
    Member

    That's why I'm asking ... I saw in Analytics there are several still using IE7, unfortunately. I'd like to think by seeing broken design, they'd eventually upgrade so I'm tempted to blow it off ... but I also hate to see my hard work not showing up nicely in all browsers!

    I was hoping there was something I could target within my existing stylesheet ... like you do for media queries for browser sizes. Is the only way to accomplish it to create a new stylesheet? And if so, do I just add my code fixes to it or do I have to duplicate the existing and adjust?

    Thank you so much for your response!

    June 14, 2013 at 12:17 pm #45945
    surefirewebserv
    Member

    You would just add your code to whatever you want fixed. There's a few ie hacks, but to be honest I haven't used these in a very long time.

    Add an _ before your style.

    style {
    margin-top:10px;
    _margin-top:15px; /* old ie style */
    }

    That should work but I'm not sure if it will work on all versions of ie or just 7,


    SureFireWebServices.com | Genesis Tuts and More
    Genesis Theme Starter Kit | It’s Free

    June 16, 2013 at 9:55 pm #46307
    jodzeee
    Member

    Thank you, I'll give it a try!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble