Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Tower Theme – Testimonials

    • 8 years, 10 months ago karena
      Participant

      Expired

      When adding testimonials, there is a title – which would be the person’s name. At the bottom, it says “position” and refers to the company name.

      When completed there is a comma after the person’s name with an extra space between the name and the comma, which is improper.

      1-How do I get rid of the comma?

      2- How can I style the font size of the name and the size and color of the company they are from?

       

      Thanks

    • 8 years, 10 months ago Mirela
      Participant

      Hello,

      What type of testimonial are you using? Please go to file vc_templates/testimonial_carousel.php and find these lines:

        $output .= '<h6>'.get_the_title().' ';
      
                                      if($c > 0)
                                          $output .= ',';

      Edit to this:

        $output .= '<h6>'.get_the_title().'';
      
                                      if($c > 0)
                                          $output .= ',';
      

      If you want to remove the comma too, then delete the last comma inside the single quotes.
      Let us know.

      Best regards!

    • 8 years, 10 months ago Mirela
      Participant

      2-To edit name and position style please add this code into your custom css box:

      .testimonial_carousel .item .param h6 {
          font-size: 19px;
          color: #8d6dc4 !important;
      }
      .testimonial_carousel .item .param span.position {
          font-size: 20px;
          color: #8d6dc4 !important;
      }

      Change the values to your wish.

      Best regards!

    • 8 years, 10 months ago karena
      Participant

      Expired

      Good morning,

       

      Thank you for your response, however in #1, both of the strings of code are the same. I need to remove the comma that automatically gets added to the testimonial name (pare title). It is wrong to have a space after the name and before the comma, and it is also completely unnecessary of the person’s name and the company name are on two lines.

      looking for a solid solution. thank you!

    • 8 years, 10 months ago Mirela
      Participant

      Hello,

      Sorry if i misunderstood you. I though you wanted to remove the space before the comma. That’s what’s different in the two codes. The second one does not have the space (screenshot).
      The name and position layout is a theme’s default style. If it does not fit your site’s style, then you can change it. In the same file vc_templates/testimonial_carousel.php find these lines:

        $output .= '<h6>'.get_the_title().' ';
      
                                      if($c > 0)
                                          $output .= ',';
      
                                      $output .= '</h6>';
                                      
                                      $output .= '<span class="position"> '.$cl_redata['staff_position'].'</span>';

      And replace with this:

      $output .= '<h6>'.get_the_title().'';
      
                                      if($c > 0)
                                          $output .= ', ';
                                      $output .= '<span class="position"> '.$cl_redata['staff_position'].'</span>';
                                       $output .= '</h6>';

      Best regards!

      • This reply was modified 8 years, 10 months ago by Mirela.
Viewing 4 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password