Title: smartphone adaption
Last modified: August 30, 2016

---

# smartphone adaption

 *  Resolved [MrSlartibartfast](https://wordpress.org/support/users/mrslartibartfast/)
 * (@mrslartibartfast)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/)
 * Hi,
 * I’m am curious if it is possible to adapt the smartphone / mobile display of 
   raindrops theme?
    I thought I saw something in the description, but wanted to
   ask before I start messing around with it.
 * thanks for any ideas!

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

 *  [Loc_rabbirt](https://wordpress.org/support/users/loc_rabbirt/)
 * (@loc_rabbirt)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/#post-6690089)
 * I think you can do any thing you want.
 *  [remediosgraphic](https://wordpress.org/support/users/remediosgraphic/)
 * (@remediosgraphic)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/#post-6690111)
 * that theme is already responsive, if you want to add new stuff create a media
   query. also check they use YUI Grids [http://yuilibrary.com/yui/docs/cssgrids/](http://yuilibrary.com/yui/docs/cssgrids/)
 *  Thread Starter [MrSlartibartfast](https://wordpress.org/support/users/mrslartibartfast/)
 * (@mrslartibartfast)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/#post-6690142)
 * Ah nice. Thanks for your answers and the link, that already helps a lot! I didn’t
   really know where to start..
 * So I will read myself into that and see if I have some more questions.
 *  [remediosgraphic](https://wordpress.org/support/users/remediosgraphic/)
 * (@remediosgraphic)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/#post-6690296)
 * u are welcome!!!
 *  Thread Starter [MrSlartibartfast](https://wordpress.org/support/users/mrslartibartfast/)
 * (@mrslartibartfast)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/#post-6690357)
 * Hello again,
 * So now I found something I don’t know who to solve.
    Sorry if its quite a simple
   question, I didn’t have anything to do so far with responsive design / optimizing
   for smartphones..
 * There is a picture path that I would like to change for mobile.
 * For example the standard picture path is:
    images/apartment01/ for mobile it 
   should load the smaller version: images/apartment01/thumbs/
 * thanks in advance for any pointers!
 *  Thread Starter [MrSlartibartfast](https://wordpress.org/support/users/mrslartibartfast/)
 * (@mrslartibartfast)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/#post-6690363)
 * Ok, so I found a solution with a little bit of php code.
 * Just posting it in case that is interesting for anyone.
    there is a practical
   wordpress function called _wp\_is\_mobile()_ that comes back with true or false.
 *     ```
       if ( wp_is_mobile() ) {
       /* load small pic for mobile devices */
       $baseURL = '/images/apartment01/Thumb/';
       }
       else {
       /* standard normal size pic display */
       $baseURL = '/images/apartment01/';
       }
   
       <img src="<?php echo $baseURL; ?>pic01.jpg">
       ```
   

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

The topic ‘smartphone adaption’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/raindrops/1.700/screenshot.png)
 * raindrops
 * [Support Threads](https://wordpress.org/support/theme/raindrops/)
 * [Active Topics](https://wordpress.org/support/theme/raindrops/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/raindrops/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/raindrops/reviews/)

## Tags

 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 6 replies
 * 3 participants
 * Last reply from: [MrSlartibartfast](https://wordpress.org/support/users/mrslartibartfast/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/smartphone-adaption/#post-6690363)
 * Status: resolved