Title: css switch in wordpress plugin &#8211; need help
Last modified: August 20, 2016

---

# css switch in wordpress plugin – need help

 *  [ibart](https://wordpress.org/support/users/ibart/)
 * (@ibart)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/css-switch-in-wordpress-plugin-need-help/)
 * Need a bit of help. I want to implement a script that will change the look of
   my slider on different wordpress pages.
 * Hot this and don’t really know how to implement it..
 * Plugin php responsible for style.css:
 * wp_enqueue_style( ‘wp-parallax-content-slider-css’, plugins_url( ‘css/style.css’,
   __FILE__ ) );
 * php script for switching styles:
 * <?php
    if(is_page(‘home’)){ // we are on the home page echo ‘<link rel=”stylesheet”
   src=”css/stylemain.css” />’; }else { echo ‘<link rel=”stylesheet” src=”css/stylemini.
   css” />’; } ?>

The topic ‘css switch in wordpress plugin – need help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ibart](https://wordpress.org/support/users/ibart/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/css-switch-in-wordpress-plugin-need-help/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
