Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

HOWTO: add IE css conditional comments


  #1  
Old Dec 4, 2009, 03:38 PM
byronyasgur
 
17 posts · Feb 2009
needed to do a conditional css comment ( the theme is very good cross browser and i think usually this will be unnecessary ) but i couldnt find anything about it so here's what i did just in case it saves anyone else scratching their head .. its actually very easy but you might miss it

in the html inserts section ( header )

<!--[if IE]> (or whatever your conditional comment is )
<style type="text/css">
.whatever{
style:style;
etc:etc;
}
</style>
<![endif]-->
  #2  
Old Apr 26, 2011, 01:04 PM
Masselyn
 
91 posts · Jan 2009
So. California
Hi:

I'd love to bring this thread back from the grave, because I am having a problem using the code provided above (or getting an external stylesheet to be used).

This is not for elements within Atahualpa, the theme works great across all browsers, but I use this theme to design very custom websites with DIV elements that require me to use certain settings that can cause problems in IE (wow, that is a surprise). You can see a site for example here, where custom elements are placed and I need to customize my CSS for IE (or I need to know what I might be doing wrong otherwise).

http://xogigifabrics.com/ (the tree's placement appears to be okay in all browsers other than IE7)

Anyway, does anyone have tips for setting different CSS rules for browsers within the "A" theme?

Thanks.
  #3  
Old Apr 26, 2011, 03:25 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
In ATO>Style & Configure Layout you can turn on IE7 Emulation. On you site you have done one of the things I do with placement for IE's sake is use position: relative. The other is to avoid negative px where I can.

In you case I would have probably place the code for the tree so as to avoid that large negative top margin. But the site looks good to me in all but IE6 and couldn't care less about IE6.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add comments to pages? Bjones Comments, trackbacks & pings 40 Feb 18, 2010 04:45 AM
[SOLVED] BUGFIX - 343/344 - COMMENTS FEED ICON area of the css.php has an error juggledad Old Version fixes and change logs 0 Oct 15, 2009 03:54 PM
[SOLVED] Conditional Tag to exclude widget d_random Sidebars & Widgets 8 Jun 2, 2009 08:23 AM
How do I add a NEW css item? Tarzanna77 Atahualpa 3 Wordpress theme 1 Jun 2, 2009 04:47 AM
How do I provide a conditional Widget in the sidebars? bgt Forum How-To 1 Jun 1, 2009 03:16 PM


All times are GMT -6. The time now is 02:34 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.