Files of “xstore built in email builder”

This topic has 4 replies, 2 voices, and was last updated 1 years, 2 months ago ago by Rose Tyler

  • Avatar: Esteban
    Esteban
    Participant
    September 9, 2023 at 17:08

    where are stored files of “xstore built in email builder”
    Which folder is?

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 9, 2023 at 21:15

    Hello, Esteban,

    Thank you for choosing XStore as your WooCommerce WordPress theme.

    May we inquire about the purpose of your interest?
    Please note that you cannot make any changes there as such modifications will be lost after the update. The mentioned functionality is built according to the extended license for an additional plugin, it cannot be used for another project.

    Kind Regards,
    8theme team

    Avatar: Esteban
    Esteban
    Participant
    September 9, 2023 at 21:18

    I would like to change the font face. Now it generate e-mails with a plain font such as Arial. I would like to change it to Lato or Verdana. Adding an style like this ” color: #E5097F; margin-bottom: 20px; line-height: 20px; font-family: Lato,Arial,sans-serif;”

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 10, 2023 at 11:39

    Hello, Esteban,

    Please try to add the next code in functions.php of the child theme:

    add_filter('woocommerce_email_styles', 'add_css_to_email', 99999999);
    
    function add_css_to_email($css) {
     $css .= '
     /* Put CSS here */
     @font-face{font-family:"Dancing Script";src: url(https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap);format("truetype");font-display:swap}
    
     body, div, h2, h3, h4, td, tr, span {
       font-family: "Dancing Script", cursive;
     }';
     return $css;
    }

    Result -> https://prnt.sc/K-R4DQ-8YV3p

    Kind Regards,
    8theme team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.