Not Solved Adding a stylesheet
#4
Not Solved
(2009-02-08, 10:57 PM)computergeek67 Wrote:
(2009-02-08, 10:48 PM)TomL Wrote:
<[if ie]>
... Include your CSS stylesheet here...
<[/if]>
Should work.
I know how to use conditional comments but I want to know how to get the link to the stylesheet. Because it's entered in dynamically, I don't know how to do that without editing global.php.

Try this:

Go to: 'Admin CP-> Templates & Style-> Theme-> (Your theme) -> global.css'.

Add an enter at the beginning of line 1 so that you get another line above it and note the theme number in the URL at the top of the browser.

Example:
http://forum.kronosandoranos.co.cc/admin/index.php?module=style/themes&action=edit_stylesheet&file=global.css&tid=[b]2[/b]

The part in bold is your theme number.

Then, put in the conditional comments before anything else:

[code]
<[if ie]>
@import "./cache/themes/theme*/ie.css";
<[/if]>

Replace the '*' with your theme number.

Click Save and it should work.

Jlong1
Reply


Messages In This Thread
Adding a stylesheet - by Ferron - 2009-02-08, 10:46 PM
RE: Adding a stylesheet - by x_Stricken_x - 2009-02-08, 10:48 PM
RE: Adding a stylesheet - by Ferron - 2009-02-08, 10:57 PM
RE: Adding a stylesheet - by jlong1 - 2009-02-11, 06:52 PM
RE: Adding a stylesheet - by Ferron - 2009-02-12, 01:27 AM
RE: Adding a stylesheet - by jlong1 - 2009-02-12, 07:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)