How to link Community Image to Community page - Copenhagen

Answered

6 Comments

  • Trapta
    Community Moderator

    Hi @Isabella V,

    Please replace the code from line no.55 - line no. 64 with below code -

    {{#if help_center.community_enabled}}
    <section class="section community">
    <h2>{{t 'community'}}</h2>

    <div class="community-image">
    {{#link 'community' class='community-link'}}
    {{t 'join_conversation'}}
    {{/link}}
    </div>
    </section>
    {{/if}}

    Go to your CSS and paste the below code at the bottom of your code -

    .community-link {
    display: block;
    min-height: inherit; }

    You can take a look here for demo purpose.

    Let me know if you face any issue.

    Thanks

    Team Diziana

    0
  • Isabella V

    Thank you! It's so close, but now the "Join the conversation" is in the image (see attached). Your demo is perfect with it above the image. I must have something out of order. 

    {{#if help_center.community_enabled}}
    <section class="section community">
    <h2>{{t 'community'}}</h2>

    <div class="community-image">
    {{#link 'community' class='community-link'}}
    {{t 'join_conversation'}}
    {{/link}}
    </div>
    </section>
    {{/if}}

    <section class="section activity">
    {{recent_activity}}
    </section>
    </div>

     

    0
  • Trapta
    Community Moderator

    Try this -

     {{#if help_center.community_enabled}}
    <section class="section community">
    <h2>{{t 'community'}}</h2>
    {{#link 'community' class='community-link'}}
    {{t 'join_conversation'}}
    {{/link}}

    {{#link 'community' class='community-link'}}
    <div class="community-image"></div>
    {{/link}}
    </section>
    {{/if}}

    Thanks

    Team Diziana

    0
  • Isabella V

    Perfect! Thank you so much. 

    0
  • Trapta
    Community Moderator

    Glad it worked you! 

    0
  • Nicole S. - Community Manager
    Zendesk Community Team

    This post has been closed for comments by the Zendesk Community Team. If you have a new or related question, please create a new post

    0

Post is closed for comments.

Powered by Zendesk