Okay
  Public Ticket #187103
Suppressing built-in testimonial quote marks
Closed

Comments

  • Michael started the conversation

    How can I suppress your built-in testimonial quotes, which are typographically incorrect -- you use "inch marks" not "curly" quote marks. Thanks!

  • rico replied

    I'm also interested and if possible with CSS only ^_^ !

  • Michael replied

    Actually the best solution would be for Salient to pre-enter the proper "curly" quotes, which are in HTML:

    & r d q u o ;

    & l d q u o ;

  • rico replied

    Hi Michael,

    I was talking about the title of your post (suppressing). Actually I don't want any quotes built-in. I prefer use font icons.

  •  8,996
    Tahir replied

    Hey Guys!

    Try making the edit in the "testimonial.php" file located in the "nectar\nectar-vc-addons\vc_templates" directory. 

    Cheers


    ThemeNectar Support Team 

  • Michael replied

    I changed line 5 in testimonial.php to the following code, which worked:

    echo '

    “'.$quote.'”

    '. '− '.$name.'
    ';

    In the example above the two curly quotes were changed to actual quotes, so substitute HTML as per my earlier post. I don't know why why the "code" paragraph still reformats HTML. :(

  •  1,089
    ThemeNectar replied

    Hey guys!

    Rico - unfortunately you'd have to edit the file as listed by Tahir/Michael to remove the quotes (it's not possibly with css alone).

    Michael - I'm glad you were able to alter them :) and thanks for posting the solution!

    Cheers

  • Vivek replied

    Hi, I achieved this with CSS by adding this:

    blockquote p::before{
        display: none !important;
    }

  • Linda Campbell replied

    I would like to get rid of the quotes icon in the testimonial slider, or at least change to a different quotation mark. I tried doing what Michael did, but the mark-up must have changed, or I'm doing something wrong. Can you please give more specific instructions?

    Thank you!

  •  8,996
    Tahir replied

    @Linda,

    Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  •  8,996
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :

    .light .testimonial_slider .image-icon {
        display: none !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Linda Campbell replied

    Thanks! I'm working in a child theme. Will this revert when the theme is updated?

    Can you also tell me:

    1. How I can insert a different style of quotation mark in the text?

    2. If were to leave the icon in, how would I replace the image icon with a different icon.

    Thanks again!

  •  8,996
    Tahir replied

    Hey Again,

    No this wont revert if you update. As for your question no 1 and 2 . Both would require custom code edits in the php template files and is not offered as Customer Support: http://themeforest.net/page/item_support_policy .

    Best.


    ThemeNectar Support Team