Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #958517

    Guten Tag,
    danke für euer Super Theme!

    Beipielseite:
    Bei Klick auf das Produktbild soll sich ein neuer Tab mit dem Bild öffnen, damit der Besucher beim Schließen des Bildes nicht von der Seite “fliegt”.
    Irgendwie stehe ich gerade auf dem Schlauch, ich habe schon lange gesucht aber keine Antwort gefunden.

    Ich habe es schon in der footer php mit folgendem Code versucht:
    `add_filter( ‘wp_footer’, ‘enfold_customization_product_image_newtab’ ); function enfold_customization_product_image_newtab() { ?> <script type = “text/javascript”> jQuery(document).ready(function(){ jQuery(‘.single-product-main-image a’).attr(‘target’, ‘_blank’); }); </script> <?php }
    Aber das hat nichts gebracht.

    Danke für eure Antwort!
    LG, albi

    #959667

    Hey albi84,

    Thank you for using Enfold.

    Where can we see the product image? Please provide the link to the product page so that we could check it.

    Best regards,
    Ismael

    #960172

    Hey Ismael,
    sorry, here is the Link:

    Best regards, Almut

    #961100

    Hi,

    Thanks for the info. Please edit the image elements then go to the Link Settings panel. Set the “Open new tab/window” to the second option (open new tab/window).

    Best regards,
    Ismael

    #961127

    There are a lot of pictures … Is not there a global setting or a code for it?

    #962022

    Hi albi84,

    You can enable lightbox and the images will open in lightbox. Does it not work for you?

    Best regards,
    Victoria

    #962054

    Hi Victoria,
    I do not want to use the lightbox, but the images should be opened on a NEW page.
    Best regards,
    Almut

    #963070

    Hi albi84,

    It’s either one or the other. The user clicks on the image and the image opens in the lightbox or user clicks on the image and the image opens in the new tab.

    If you see it different, please describe how you see it.

    Best regards,
    Victoria

    #963204

    Hi Victoria,
    I click on the picture and the picture opens in the SAME tab – not in the lightbox and not in a new tab. The pictures are in a color section. Could it be because of that?

    I have just tried:
    1. Link settings: set manually
    2. save
    3. Link settings: Lightbox
    4. save

    Now the picture opens in the new tab. However, that is quite expensive.
    I thought maybe there is a shortcode to do that globally.

    Best regards,
    Almut

    #964186

    Hi Almut,

    The setting you set on an image? No, there is no such shortcode, there can be code added for that, but it is out of the scope of our support, unfortunately.

    Best regards,
    Victoria

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