Title: Mobile Version
Last modified: August 30, 2016

---

# Mobile Version

 *  [Dane29](https://wordpress.org/support/users/dane29/)
 * (@dane29)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/mobile-version-63/)
 * Hi,
 * I installed the theme, and I like it!
    There is one problem concering the mobile
   version: you cannot click on the featured images in the blog overview to open
   the post. Any ideas how to fix this?
 * Thanks
    Daniel
 * The website is [http://www.daniel-eder.de](http://www.daniel-eder.de)

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

 *  [Artistiana](https://wordpress.org/support/users/ci-media/)
 * (@ci-media)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/mobile-version-63/#post-6545125)
 * You’ll need to edit the theme’s code, namely the _functions.php_ file, function
   _divina\_post\_thumbnail()_, as described [here](https://codex.wordpress.org/Function_Reference/the_post_thumbnail#Post_Thumbnail_Linking_to_the_Post_Permalink),
   but you’ll also have to make some changes in the css file for this to work.
 *  [clmerle](https://wordpress.org/support/users/clmerle/)
 * (@clmerle)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/mobile-version-63/#post-6545213)
 * I also ran into the same problem. I created a child theme and I added the filter
   code to functions.php as you suggested and it shows up in the raw HTML but I 
   still cannot click on the picture. If I remove the class figcaption, it will 
   work but then the slide out text is below the image. I created a new class called
   divina-mobile and added it to the permalink so I could style it. Below the function
   is as far as I got with CSS. Any suggestions would be appreciated.
 *     ```
       add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 );
   
       function my_post_image_html( $html, $post_id, $post_image_id ) {
       	$html = '<a class="divina-mobile" href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_the_title( $post_id ) ) . '">' . $html . '</a>';
       	return $html;
       }
       ```
   
 *     ```
       .divina-mobile {
           display: block;
           height: 100%;
           width: 100%;
       }
       .divina-mobile:hover {
           border: solid white 1px;
       }
       ```
   
 * **Update: **I just realized that links cannot be nested and that’s why it’s not
   working. Can you suggest a solution that avoids this problem?
 *  [valentinagu05](https://wordpress.org/support/users/valentinagu05/)
 * (@valentinagu05)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/mobile-version-63/#post-6545215)
 * Any solution for this problem ?
 * When I’m in a Mobile version I can’t link to the entry .
 * Can someone help me? Thanks
 *  [clmerle](https://wordpress.org/support/users/clmerle/)
 * (@clmerle)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/mobile-version-63/#post-6545216)
 * That filter function I posted did not work. I did compare it to another commercial
   theme that does work on mobile and was able to figure out how it worked and used
   it to modify Divina. The grid based theme is called Origin and is from Elegant
   Themes. If you use Firebug you can inspect how it works.
 * [http://www.elegantthemes.com/demo/?theme=Origin](http://www.elegantthemes.com/demo/?theme=Origin)
 * I’ll try to do a write up later, sorry that I don’t have more time to post my
   solution.
 *  [madr1727](https://wordpress.org/support/users/madr1727/)
 * (@madr1727)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/mobile-version-63/#post-6545219)
 * I am eager to see the solution to this as well. I am not fluent in php so I am
   having trouble with finding and resolving the issue.

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

The topic ‘Mobile Version’ is closed to new replies.

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

## Tags

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

 * 5 replies
 * 5 participants
 * Last reply from: [madr1727](https://wordpress.org/support/users/madr1727/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/mobile-version-63/#post-6545219)
 * Status: not resolved