Title: Custom Theme css
Last modified: August 30, 2016

---

# Custom Theme css

 *  Resolved [phildo77](https://wordpress.org/support/users/phildo77/)
 * (@phildo77)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-theme-css-1/)
 * I absolutely love the editor and functionality! Great plugin!
 * I’m trying to use a custom theme with custom CSS but can’t seem to get it to 
   work properly. My custom CSS doesn’t override the selected theme and I’m not 
   seeing any options for custom themes. I’ve dug around in the source files to 
   try and find where these themes are being pulled from (thinking I could just 
   paste my custom CSS in one of the existing themes) but wasn’t able to find it.
 * I’m able to get this to work no problem with the google code prettify plugin.
   I believe that I may be trying to do apples-to-oranges since I don’t completely
   understand how the prettifying works with Mivhak…
 * Here’s the custom CSS I’m trying to use:
 *     ```
       .pln {
         color: #bd3613; }
   
       .str {
         color: #269186; }
   
       .kwd {
         color: #859900; }
   
       .com {
         color: #586175;
         font-style: italic; }
   
       .typ {
         color: #b58900;
         font-weight: bold;}
   
       .lit {
         color: #2aa198; }
   
       .pun {
         color: #839496; }
   
       .opn {
         color: #839496; }
   
       .clo {
         color: #839496; }
   
       .tag {
         color: #268bd2; }
   
       .atn {
         color: #586175; }
   
       .atv {
         color: #2aa198; }
   
       .dec {
         color: #268bd2; }
   
       .var {
         color: #268bd2; }
   
       .fun {
         color: #FF0000; }
   
       /* Put a border around prettyprinted code snippets. */
       pre.prettyprint {
         background-color: #042029;
         padding: 10px;
         border: 1px solid #E1E1E8;
         border-radius: 4px;
         font-family: consolas,sans-serif;}
   
       /* Specify class=linenums on a pre to get line numbering */
       ol.linenums {
         color: #4c666c;
         margin: 0 0 0 40px; }
   
       ol.linenums li {
         line-height: 18px;
         padding-left: 12px; }
       ```
   
 * [https://wordpress.org/plugins/mivhak/](https://wordpress.org/plugins/mivhak/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Askupa Software](https://wordpress.org/support/users/askupa-software/)
 * (@askupa-software)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-theme-css-1/#post-6899922)
 * Thanks!
    The theme files (CSS) are being loaded from a CDN, they are not included
   with the plugin. I guess I should add an option for “no theme” to allow you to
   override the styles. In the meanwhile, I think adding `!important` to your CSS
   rules should override the default CSS rules.

Viewing 1 replies (of 1 total)

The topic ‘Custom Theme css’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mivhak_86b0b1.svg)
 * [Mivhak Syntax Highlighter](https://wordpress.org/plugins/mivhak/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mivhak/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mivhak/)
 * [Active Topics](https://wordpress.org/support/plugin/mivhak/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mivhak/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mivhak/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Askupa Software](https://wordpress.org/support/users/askupa-software/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/custom-theme-css-1/#post-6899922)
 * Status: resolved