Title: CSS not working on mobile
Last modified: March 9, 2017

---

# CSS not working on mobile

 *  Resolved [pgiovas](https://wordpress.org/support/users/pgiovas/)
 * (@pgiovas)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/css-not-working-on-mobile/)
 * I added the CSS code so the title can have a color background and all that, but
   in mobile it doesnt respect the color. Here is my code:
 *     ```
       .accordion {
       }
       .accordion-title-daca {
           border-top: 1px solid #029670;
           margin-top: 5px;
           padding: 10px 30px 10px 10px;
           cursor: pointer;
           background-color: #029670;
           color: #fff;
           font-size: 17px;
           font-weight: normal;
           margin-bottom: 0px !important;
       }
       .accordion-title:hover {}
       .accordion-title:first-child {border: none;}
       .accordion-title.open {cursor: default;}
       .accordion-content {
         	border: 1px solid #bcbcbc;
         	padding: 30px;
       }
   
       .accordion-title-bridge {
           border-top: 1px solid #1b5aa8;
           margin-top: 5px;
           padding: 10px 30px 10px 10px;
           cursor: pointer;
           background-color: #1b5aa8;
           color: #fff;
           font-size: 17px;
           font-weight: normal;
           margin-bottom: 0px !important;
       }
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/css-not-working-on-mobile/#post-8896327)
 * Sounds like it might be a conflict with some of your other CSS on the page. Is
   it possible to see a link to the site so I can take a closer look?
 *  Thread Starter [pgiovas](https://wordpress.org/support/users/pgiovas/)
 * (@pgiovas)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/css-not-working-on-mobile/#post-8896412)
 * Sure, it’s accesolatino.org/daca/
    -  This reply was modified 9 years, 3 months ago by [pgiovas](https://wordpress.org/support/users/pgiovas/).
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/css-not-working-on-mobile/#post-8896710)
 * It looks the same on mobile as it does on desktop devices for me. Maybe a caching
   issue?
 *  Thread Starter [pgiovas](https://wordpress.org/support/users/pgiovas/)
 * (@pgiovas)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/css-not-working-on-mobile/#post-8899665)
 * You are right, I just cleared cache que it does look the same. Sorry for the 
   trouble!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CSS not working on mobile’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accordion-shortcodes.svg)
 * [Accordion Shortcodes](https://wordpress.org/plugins/accordion-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accordion-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accordion-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/accordion-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accordion-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accordion-shortcodes/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [pgiovas](https://wordpress.org/support/users/pgiovas/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/css-not-working-on-mobile/#post-8899665)
 * Status: resolved