Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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
    [page_title]
    I tried also to esclude the acf but I got the same problem…
    Thanks for your help

    #994881

    Hey emanuelechiari,

    What is the login link?

    Best regards,
    Victoria

    #994895

    yes 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

    #994973

    Hallo…?

    #995878

    Hi,

    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,
    Dude

    #995880

    Yes 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

    #996063

    Hi 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.