Shooting Games

Contact Form

Name

Email *

Message *

3D Games

Racing Games

Sports Games

Kids Games

Wednesday, 19 July 2017

Many problems of pretty Photo with Templatic’s Directory theme

Share & Comment

Many problems of pretty-photo with Templatic’s Directory theme

Unfortunately this theme has several CSS rules that severely affect JIG's customized prettyPhoto. 

They don't allow nice counter-rules so you'll need to edit the style sheet directly. A child theme works but a copy of their style sheet is still necessary. 

So, The solution is ugly and will impair your ability to update the theme.  Otherwise, you'll experience these symptoms:
  • Navigation bar including title, description and social sharing buttons will fall out of the prettyPhoto frame.
  • Your image will be limited in size.
  • Large navigation arrows on the lightbox image will be off-positioned.
  • Counter text will be off-positioned.
  • Twitter button will often fail to work, because a CSS rule impairs JIG's Twitter button load detection.
The obvious solution would be to use another lightbox. If you prefer to stick with prettyPhoto though, here is what you need to do.
Edit /wp-content/themes/Directory/css/style.css file of the Directory theme. Remove or comment out the following four lines, which are scattered across the file:

This Article Piked on http://justifiedgrid.com

1
2
3
4
5
6
7
.pp_content { height:auto!important; max-height:640px }
 
.pp_nav p { margin-top:-4px!important; padding:0 }
 
.twitter-share-button { width:80px!important }
 
.pp_hoverContainer { width:100%!important; margin-left:-40px }

Tags:

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

 

Popular Content

Recent Posts

Why to Choose RedHood?

Copyright © Check Before buy | Templatic Theme Complaint for Templatic | Designed by Templateism.com