Solved

Can someone help me change the Card Descriptions in the portal?

  • 7 November 2022
  • 9 replies
  • 205 views

Badge +1

I Have tried to change the cards' text to say something that makes more sense. Filling up a support ticket to Fill out a support ticket. But when I change the text for one, it changes the text for all the cards.

This is on FreshDesk Pro

 

 <section class="container-fluid px-0 mt-16">
    <div class="container">
      <div class="row justify-content-center">
        {%for card in portal.home_cards %}
          {% if card.show %}
            <div class="col-md-6 col-xl-3 mb-8">
              <a class="card fw-horizontal" href="{{card.url}}" aria-label={{card.label}}>
                <div class="col-3 px-0 my-auto text-center">
                  <div class="fw-category-icon">
                    {{ card.image }}
                  </div>
                </div>
                <div class="card-body col-9">
                  <h2 class="mt-0 card-title fs-18 line-clamp-2">{{card.label}}</h2>
                  <p class="line-clamp-3">{{card.description}}</p>
                </div>
              </a>
            </div>
          {% endif %}
        {% endfor %}
      </div>
    </div>
  </section>

 

icon

Best answer by jim.stephen 8 November 2022, 10:14

View original

9 replies

Userlevel 7
Badge +14

Lets see if we can get this routed to the correct thread so that some freshdesk experts can help with this.

@rashmi.nag can you move this under “Freshdesk” instead of “Freshservice”? Thank you :)

Badge +1

Thank you

 

Userlevel 7
Badge +9

This has been shifted to Freshdesk forums and our product specialist will be looking at your question shortly @Randy.L :)

Userlevel 6
Badge +6

Thanks @zachary.king for bringing this to our attention. @Randy.L - we’ve shared this with the team, our team will get back asap. Please let us know if there’s anything else we can help with. 

Userlevel 5
Badge +5

Hi @Randy.L 

 

Greetings from Freshworks Community! 

 

I understand that your would like to make a few changes to your description of your Support portal Home page cards. In order to achieve this please follow the below steps: 

 

  • Go to Admin → Portals →  Customise portal → Edit theme → Layout → Head → Paste the below code → Save → Publish: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> 
  • Once done, go to Admin → Portals → Customise portal -> Edit theme → Pages → Portal Home → Paste the below code → Save → Publish: <script>
      jQuery(document).ready( function() {
         jQuery('.line-clamp-3:contains(Describe your issue by filling up the support ticket form)').text("Fill out a Support Ticket");
      });
    </script> 

I have also taken a video grab of the same for your reference: https://share.vidyard.com/watch/zRhrziBpsWwcqXavE8zo6v? 

I hope this helps! 

Badge +1

Thank you! That worked

Userlevel 6
Badge +6

Great to hear that @Randy.L ! Thank you @jim.stephen for your quick response and support :)

Badge +1

I Have tried to change the cards' text to say something that makes more sense. Filling up a support ticket to Fill out a support ticket. But when I change the text for one, it changes the text for all the cards.

This is on FreshDesk Pro

 

 <section class="container-fluid px-0 mt-16" jingga888>
    <div class="container">
      <div class="row justify-content-center">
        {%for card in portal.home_cards %}
          {% if card.show %}
            <div class="col-md-6 col-xl-3 mb-8">
              <a class="card fw-horizontal" href="{{card.url}}" aria-label={{card.label}}>
                <div class="col-3 px-0 my-auto text-center">
                  <div class="fw-category-icon">
                    {{ card.image }}
                  </div>
                </div>
                <div class="card-body col-9">
                  <h2 class="mt-0 card-title fs-18 line-clamp-2">{{card.label}}</h2>
                  <p class="line-clamp-3">{{card.description}}</p>
                </div>
              </a>
            </div>
          {% endif %}
        {% endfor %}
      </div>
    </div>
  </section>

 

Is it good to go for normal working?

Userlevel 5
Badge +5

Hey @marryhussaim 

 

Greetings! 

 

Please could you clarify more on your query so that we can assist you accordingly? 

Reply