-
AuthorPosts
-
August 8, 2018 at 11:21 am #994859
Hallo …
I’m using enfold for the first time…. I’ve this issue..
for example I open http://www.sonumishra.com/test/2018/movies/genius-picasso/ and when I click on the poster (top left) I got in the lightbox the poster but also a second image that call me again this webpage
I’m using ACF and this is the code to open the image in lightbox
I tried also to esclude the acf but I got the same problem…
Thanks for your helpAugust 8, 2018 at 11:57 am #994881Hey emanuelechiari,
What is the login link?
Best regards,
VictoriaAugust 8, 2018 at 12:10 pm #994895yes the image is the issue… I should see only the poster and one image…
The link I use is
<a href="[acf field='locandina']" rel="prettyPhoto"><img class="alignnone size-full" title="[page_title]" src="[acf field='locandina']" alt="[page_title]" width="809" height="1200" /></a>
Thanks
August 8, 2018 at 2:46 pm #994973Hallo…?
August 10, 2018 at 9:47 am #995878Hi,
I tried to reproduce this issue but when I click on the poster only the lightbox opens and shows the poster image: https://screenshots.firefox.com/RupGkFs5XBeg4mH0/www.sonumishra.com . Around the image there’s just the dark overlay and no other images except the X to close the lightbox. Can you describe the issue and elaborate please?
Best regards,
DudeAugust 10, 2018 at 10:01 am #995880Yes I saw… probably your collegue Victoria did something 2 days ago…
But If I can i would ask yot something….
I have a lot of post with categoriee movies television and commercials and I would like to have the menu item highlighted (active status) when the site loads one of these post…
As you can see on my child template – functions.php I write this script and it works fine but it doesn’t have the possibility to choose the categories that I want to have the menu item Projects in active mode… it simply highlight the Projects menu item when ANY post is open…
function be_menu_item_classes( $classes, $item ) {if( ( is_singular() || is_category() ) && ‘Projects’ == $item->title )
$classes[] = ‘current-menu-item’;return array_unique( $classes );
}
add_filter( ‘nav_menu_css_class’, ‘be_menu_item_classes’, 10, 2 );I tried to write is_category(‘movies’, ‘television’, ‘commercials’) but it doesn’t work….
Any help?Thanks
- This reply was modified 6 years, 3 months ago by emanuelechiari.
August 10, 2018 at 4:43 pm #996063Hi emanuelechiari,
I did not do anything. Not sure I understand which menu items you want to highlight.
https://cl.ly/0h3A1h0K2b21 These do not seem to have the categories.Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.