Anyone else having an issue with Craft theme’s “image with text” blocks not producing image hyperlink, despite being set in the block?
For example:
Block Setttings:
Image with text block is rendered correctly, but not hyperlinked:
Relevant source (www.craftsofturkey.com/ (Home page) Bottom before footer)
Any pointers much appreciated, thanks!
Hello @OliverCOT ,
It’s GemPages support team and glad to support you today.
By default, the link of the Image with Text section of the Craft theme only applies to the button. If you want to add the link for the image, you could please follow the steps below:
- Go to Online Store > Theme > Edit code of your current theme
-
Open your image-with-text.liquid theme file
-
Paste the below code after image-with-text__media
{%- for block in section.blocks -%}
{% case block.type %}
{%- when 'button' -%}
{%- endcase -%}
{%- endfor -%}
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Thanks GemPages!
It seems odd it wouldnt be on by default considering image link can be set (but not applied) via the customise store GUI
.
Many thanks!