• Resolved alfista73

    (@alfista73)


    Hi, this is my website. I would like to translate the click here to open notice into Italian which, translated into Italian, would be “Click here to open”. Then I would also like it if when you hover the mouse over the titles of the FAQs, the rectangle of the highlighted FAQ would change color. It’s possible ? Thanks for the help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi alfista,

    All of the static labels/strings that appear on the front end of this plugin are localized in the code. This means they are ready to be translated and can be found and identified as such by any translation plugin (e.g. WPML, Polylang). For more information, please visit our documentation page here: https://doc.etoilewebdesign.com/plugins/ultimate-faq/user/labelling/translating

    You can use Custom CSS to highlight FAQ titles on hover. For example:

    .ewd-ufaq-faq-div .ewd-ufaq-faq-title:hover {
    background: orange;
    }

    You can paste this into the Additional CSS section of the WordPress theme customizer, which is normally found by going to: WP Admin Sidebar > Appearance > Customize > Additional CSS

    Thread Starter alfista73

    (@alfista73)

    For… “Then I would also like it if when you hover the mouse over the titles of the FAQs, the rectangle of the highlighted FAQ would change color. It’s possible ? Thanks for the help.” Hi, sorry, I meant category not the title of the FAQs.

    Thread Starter alfista73

    (@alfista73)

    Hi, I don’t want to install another plugin to translate just a small sentence. Kindly tell me the path and name of the file where this sentence to be modified is located? I would like to change it directly in the code. Thanks, good luck!!!

    Plugin Support jaysupport

    (@jaysupport)

    Hi alfista,

    The string you want to change is used in the faqs-category-header.php file located within the ewd-ufaq-templates folder of the plugin. You can make a copy of this file into your child theme’s ewd-ufaq-templates folder and modify it there. You can follow this documentation for more information on using your own templates: https://doc.etoilewebdesign.com/plugins/ultimate-faq/developer/

    The string can be found on line 5 of the file.

    As for the hover effect you are trying to achieve, you will need to use JavaScript instead. You can look into jQuery’s hover event as one way to go about this: https://api.jquery.com/hover/

    Thread Starter alfista73

    (@alfista73)

    Hi first of all thank you for your patience. I don’t have a child theme’s. I read in the documentation https://doc.etoilewebdesign.com/plugins/ultimate-faq/developer/ that if I don’t have a child theme’s you need to create a folder with the same name as the templates folder in the plugin, so ewd-ufaq- templates in our case. WHERE SHOULD THE FOLDER BE CREATED? UNDER WHICH DIRECTORY? I wouldn’t want to create a child theme’s just for this small change.

    Plugin Support jaysupport

    (@jaysupport)

    Hi alfista,

    If you are not using a child theme, then you can just use your currently-active theme and follow the same instructions. You can create an ewd-ufaq-templates folder in your theme and work from there.

    • This reply was modified 1 year ago by jaysupport.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translation click here to open and change color on mouse hover’ is closed to new replies.