Title: toggle button to different css styles
Last modified: August 22, 2016

---

# toggle button to different css styles

 *  Resolved [mrenrich](https://wordpress.org/support/users/mrenrich/)
 * (@mrenrich)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/toggle-button-to-different-css-styles/)
 * Him great plugin, thanks.
 * is it possibile to toggle the grid with the original theme style using a button
   or a link?
 * I mean:
    using a link [Original style](https://wordpress.org/support/topic/toggle-button-to-different-css-styles/?output_format=md#)
 * and a function to toggle the style
 *     ```
       $(".change-css").click(function() { $("link[rel=stylesheet]").attr({href : this.rel});
       });
       ```
   
 * thanks
 * [https://wordpress.org/plugins/content-views-query-and-display-post-page/](https://wordpress.org/plugins/content-views-query-and-display-post-page/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Content Views](https://wordpress.org/support/users/pt-guy/)
 * (@pt-guy)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/toggle-button-to-different-css-styles/#post-5415643)
 * hi,
    I think it is possible. You can get style file of Content Views plugin by
   view source of a web page and search for ‘pt-cv-public-style-css’
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘toggle button to different css styles’ is closed to new replies.

 * ![](https://ps.w.org/content-views-query-and-display-post-page/assets/icon.svg?
   rev=2932226)
 * [Content Views - Post Grid & Filter, Recent Posts, Category Posts ... (Shortcode, Gutenberg Blocks, and Widgets for Elementor)](https://wordpress.org/plugins/content-views-query-and-display-post-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-views-query-and-display-post-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/)
 * [Active Topics](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-views-query-and-display-post-page/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [toggle](https://wordpress.org/support/topic-tag/toggle/)

 * 1 reply
 * 2 participants
 * Last reply from: [Content Views](https://wordpress.org/support/users/pt-guy/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/toggle-button-to-different-css-styles/#post-5415643)
 * Status: resolved