• Resolved Branding Addicted

    (@brandingaddicted)


    Hi,
    first of all: thanks for this plugin!!!
    We are using one of prebuilt template, but we are having problems with customization because there are a lot of tags with inline css rules.
    Could you tell me which file to edit in ftp?
    Thanks

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hey,
    Woocommerce automatically adds all the styles inline when the email is being built, this supports more email clients. What are you wanting to override?

    The template files are the woocommerce templates for emails, this plugins “templates” or preset options within the customizer settings. They are not a file just a preset starting point with the options given.

    I hope that helps!

    Ben

    Thread Starter Branding Addicted

    (@brandingaddicted)

    Hi Ben, thanks for answer!
    Please, look at this picture: https://www.screencast.com/t/qNbbzhMjGzK
    As you can see, we would to

    1- set text align on right for price values, subtotal and total;

    2- remove 12 pixel padding for TD contains Address.

    Could you help us please?

    Thanks

    Hey,
    Align right should already be set for those when using that style. Are you overriding any templates with another plugin or your theme? Can you try deactivating plugins?

    You can use this css for the second:

    #addresses > tbody > tr > td {
        padding: 0 !important;
    }

    Ben

    Thread Starter Branding Addicted

    (@brandingaddicted)

    Hi Ben,

    second point solved ??

    For first, I checked for something in theme or plugins installed but i didn’t find anything.

    I inspected code (https://www.screencast.com/t/ht7JIuF2EJ) and there in an inline css rule that set margin center also for price, subtotal and total value.

    Any suggestion?

    Thanks

    I can’t recreate so can you tell me what version you are using of everything?

    Ben

    Thread Starter Branding Addicted

    (@brandingaddicted)

    Hi Ben,

    I managed to set margin right for items price, but i can’t still for Subtotal and Total values.

    I also tried to add this code in Custom Styles:
    tfoot > tr > td {
    text-align: right !important;
    font-weight: bold;
    }

    In preview it seems to work, but doesn’t work in received email.

    Any suggestion?

    Thanks

    If you can outline how I would be able to recreate what you are seeing then I can help fix it. Using that css won’t work since it’s all compiled into inline css before it’s sent.

    can you tell me what version you are using of everything?

    Ben

    Thread Starter Branding Addicted

    (@brandingaddicted)

    Hi Ben,

    Wordpress -> 5.2.2
    WooCommerce -> 3.6.4
    Kadence WooCommerce Email Designer -> 1.2.1
    YITH WooCommerce Ajax Product Filter -> 3.6.6
    YITH WooCommerce Compare -> 2.3.12
    YITH WooCommerce Wishlist -> 2.2.11
    WooCommerce Custom Product Tabs Lite -> 1.6.4

    Hey,
    What theme are you using? Are you overriding any woocommerce templates?

    Ben

    Thread Starter Branding Addicted

    (@brandingaddicted)

    Hi Ben,

    theme is Spring Plant (https://themes.g5plus.net/spring/) updated to latest version.

    I’m not overriding any woocommerce template:
    /wp-content/themes/spring-plant/woocommerce/emails is empty.

    Thanks

    I just thought of what this might be. What version of PHP are you using?

    If you go to woocommerce > status > logs do you have any logs related to email?

    Ben

    Thread Starter Branding Addicted

    (@brandingaddicted)

    Php version -> 7.1.30

    Nothing into Woocommerce > Status > logs

    hmm, well it was a guess. I don’t have access to that theme, my best guess know is that it’s adding some custom styles. Have you tried a standard theme as a test?

    Ben

    Thread Starter Branding Addicted

    (@brandingaddicted)

    Yes, i tried to activate TwentyNineteen and then send again a Preview Email, but still the same ??

    Did the customizer show correctly when using a different theme?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Prebuilt template: how to edit html tags?’ is closed to new replies.