Jump to content

IE8 hacks

Recommended Posts


I normally can put a 9 after a CSS command to make a IE8 hack. Unlucky it is stripped in the preprocessor of custom code. So that does not work out. I can remove the hacks and distribute them to style.css but that is a dirty fix.

Can you fix the problem or is there a proper work-around?


.fbox {padding: 15px 30px9 15px 10px9 !important; } becomes:

.fbox {padding: 15px 30px9 15px 10px9 !important; }

Adding an extra space 30px 9 results in a compile error!

Share this post

Link to post
Share on other sites

I already mentioned that an extra space does not help.

Share this post

Link to post
Share on other sites

I will forward this to our developers, but our NavBar is already set for IE8. What did you intend to hack?

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Indeed I had a problem in IE8 with the navbar displaying both the navigation and the text displayed whenever it was used on mobile.

Also I did use other margins/paddings for my boxes and sometimes use different fonts (not all are rendering nice).

Share this post

Link to post
Share on other sites

The custom CSS box runs the code through the less compiler which checks for valid CSS. Your 'hack' is not valid CSS ;) add it to customise plugin style.css

Share this post

Link to post
Share on other sites

That is a very clever idea! It also helps with the custom taxonomies!

Share this post

Link to post
Share on other sites

The topic was marked as resolved.

Please search our forums, before posting!

Share this post

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

  • Similar Content

    • triggerfish
      By triggerfish+
      Hi there,
      My client is a user/website tester and has just informed me that her website is not displaying properly in Internet explorer 9 (and 8).
      The website looks great and has been tested by me on all devices and on the desktop by all the latest browsers ... but not older versions.
      Is there anything known about this and DMS, or is there a fix?
      the website is here..
      Here is a pdf with screen shots and the problems in ie8 & ie9...
    • communicreations
      By communicreations+
      I have an issue with a site not behaving in IE9 and performing badly in IE8. I've been playing around with a copy on a staging server and testing view with Browserstack. I replaced my child theme and activated WP 2013 theme, and IE8/9 worked fine. I then activated the DMS2 Base theme and the not loading properly issue returned. Then I deactivated all the plugins but the problem still persists.   With child theme active: IE8/9/10 - http://imgur.com/a/FzN0O   With DMS2 Base theme active, all plugins deactivated: IE8/9/10 - http://imgur.com/a/3j15x   Temporary staging server URL: http://c95.731.myftpupload.com/   DMS version: Debug is on, cache cleared   The problems with IE8 should be obvious. The CTA is disappearing in IE9 but otherwise is fine. Everything good in IE10 and up.
        Thanks in advance, Michael
    • ghettro
      By ghettro
      My pics are not loading in IE9 and I need to know if theres a plugin to resolve this issue.  (Help)
      My site:  http://www.csswayne.org
      and I'm using DMS 2.0 with Wordpress 3.91
      I have some plugins
      Custom Sidebar
      Form maker
      Call Press calendars
    • jamieg270
      By jamieg270+
      I was using the DMS Pro Tools patch and the Modernizr plugin/acript to get IE8 and IE9 to present DMS based sites correctly. This was working successfully, bar a few elements that I could make some conditional styles for.
      I've just noticed on the last two sites I've updated to the latest version of DMS that this no longer works. I know the Modernizr script hasn't been changed so I assume something with DMS has changed to render these non-functional.
      http:/www.tcii.co.uk/bypass   (this is behind a 'under maintenance' screen right now, you'll need to use the 'bypass' in the URL to get past it)
      Any idea what might be stopping the script from running correctly? Normally it would allow older browsers to use HTML5 and CSS3 tags/selectors, at the moment its as if the script isn't even running/loading...
    • tinpeas
      By tinpeas+
      Hi Guys
      I have an issue with quick slider (Pagelines Version 2.x) which I have seen a couple of other similar posts talking about, the only difference is it only effects IE8 for me. The sites did work fine in IE8 with sliders performing as expected.
      Now the sliders do not load at all in IE8, if I refresh the page they do then load. I have tried disabling all non Pagelines plugins but this makes no difference. Also the site loads fine using IE11 using developer tools for IE8 but not on an actual XP machine using IE8.
      The sites were fine (there are 2 of them) but now I have this issue. I can only assume a Wordpress update has caused this.
      I know that people will say well the browser/OS are old/unsupported etc but they did work and the sites are for a government agency were there is a large amount of users still using XP and IE8 so I have no choice but to somehow fix the issue.
      Any help would be very much appreciated.
      Thanks in advance.