( Zaloguj | Zarejestruj )
![]() ![]() |
21.2.2010 - 12:59
Post
#1
|
|
|
aktywność: ![]() ![]() Grupa: +Bloger Postów: 57 Nr: 7 221 |
Witajcie,
Mam problem. otóż posiadam skin, który ma dwie opcje kolorystyczne do wyboru. czarną i białą. Niestety nie wiem jak ustawić, aby domyślnie ładowała się biała kolorystyka, nie czarna. Tak mam domyślnie w header.php KOD <!-- Default Style --> <?php if($_COOKIE['style'] == 'style-dark') : ?> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style-light.css" /> <?php else: ?> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style-dark.css" /> <?php endif; ?> <!-- Light / Dark CSS --> <link rel="alternate stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style-light.css" title="style-light" media="screen" /> <link rel="alternate stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style-dark.css" title="style-dark" media="screen" /> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> Nie wiem, bo w css nic nie widze. Mam 3 css. Jeden głowny i biały, i czarny. link do strony nextgame.pl |
|
|
|
![]() ![]() |
| : 24 05 12 - 10:47 |