Home Forums UnTheme Food & Pizzeria Clickable Images

Viewing 6 reply threads
  • Author
    Posts
    • #21441

      ismadman
      Participant

      (Still waiting on my other update below in this forum…just saying)

      I want the image on this page ( Linking to the demo as it is the same )
      http://demo.spyropress.com/themeforest/pizzeria/menu/ to link to the order page.
      Seems strange that you would click on the ORDER NOW button below the image.
      The more intuitive way , top me, is to click the image of the pizza.

      Can you please let me know how to get this image to click through to the order page INSTEAD of having to click on the ORDER NOW button
      The other images seem to be clickable so wondering why this area doesn’t eg. Shop Page http://demo.spyropress.com/themeforest/pizzeria/shop/
      Cheers
      Kev

    • #21709

      Maria Do
      Keymaster

      Hi

      In this link: http://demo.spyropress.com/themeforest/pizzeria/menu/ That is CMS Grid element and image of CMS Grid is not click able. If you want to add link for image, you need to custom layout of CMS Grid element.

      Thank you.

    • #21965

      ismadman
      Participant

      Finally worked it out.
      I am using a child theme.
      If your not , It will break on theme updates.
      so do below.
      // I am using file manager in cPanel in the instructions below

      (CREATE CHILD THEME IF YOU ALREADY HAVEN’T)
      Create vc_templates folder in your child theme folder
      eg Child theme folder name – wp_pizzeria-child

      Copy cms_grid–menu.php file from
      /wp_pizzeria-child/vc_templates/cms_grid–menu.php
      Put it in your new CHILD THEME folder called – vc_templates

      Open the cms_grid–menu.php file in editor and around line 118

      Replace this

      // echo ”.$thumbnail;

      With this

      // ?>
      // “>
      // <?php
      // echo ”.$thumbnail;
      // ?>
      //

      I had 3 people test my test site and everyone tried to click on the images.
      Not sure how intuitive the ORDER NOW link is below the images.

      • #21966

        ismadman
        Participant

        Code never went in and can’t delete the post
        Sorry

    • #21996

      Maria Do
      Keymaster

      Yes you can add your custom code into child theme. It is better for update theme.

    • #22009

      ismadman
      Participant

      I meant can’t add [code] area here at your forum around my fix above
      I thought I would post how to fix it for other users, But the code keeps getting stripped.
      See my previous post above

    • #22019

      ismadman
      Participant

      I snapped a shot of the fix
      https://prnt.sc/js0ebe

    • #22056

      Maria Do
      Keymaster

      You are very good at web development.

      Really appreciate your talent! and thank you for your solution!

Viewing 6 reply threads
  • You must be logged in to reply to this topic.