• Resolved jazzu

    (@jazzu)


    Hello!

    I’ve seen this last week, thought it was an Elementor bug, but I was told to ask here.

    What I mean with “displays code” is that if you click on I’ve read and agree with

      Privacy Policy

    on this site, it displays some code first, and after the code, the actual privacy policy is displayed. The code that is displayed:

    /*! elementor – v3.5.5 – 03-02-2022 */
    .elementor-widget-divider{–divider-border-style:none;–divider-border-width:1px;–divider-color:#2c2c2c;–divider-icon-size:20px;–divider-element-spacing:10px;–divider-pattern-height:24px;–divider-pattern-size:20px;–divider-pattern-url:none;–divider-pattern-repeat:repeat-x}.elementor-widget-divider .elementor-divider{display:-webkit-box;display:-ms-flexbox;display:flex}.elementor-widget-divider .elementor-divider__text{font-size:15px;line-height:1;max-width:95%}.elementor-widget-divider .elementor-divider__element{margin:0 var(–divider-element-spacing);-ms-flex-negative:0;flex-shrink:0}.elementor-widget-divider .elementor-icon{font-size:var(–divider-icon-size)}.elementor-widget-divider .elementor-divider-separator{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;direction:ltr}.elementor-widget-divider–view-line_icon .elementor-divider-separator,.elementor-widget-divider–view-line_text .elementor-divider-separator{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.elementor-widget-divider–view-line_icon .elementor-divider-separator:after,.elementor-widget-divider–view-line_icon .elementor-divider-separator:before,.elementor-widget-divider–view-line_text .elementor-divider-separator:after,.elementor-widget-divider–view-line_text .elementor-divider-separator:before{display:block;content:””;border-bottom:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;border-top:var(–divider-border-width) var(–divider-border-style) var(–divider-color)}.elementor-widget-divider–element-align-left .elementor-divider .elementor-divider-separator>.elementor-divider__svg:first-of-type{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:100;flex-shrink:100}.elementor-widget-divider–element-align-left .elementor-divider-separator:before{content:none}.elementor-widget-divider–element-align-left .elementor-divider__element{margin-left:0}.elementor-widget-divider–element-align-right .elementor-divider .elementor-divider-separator>.elementor-divider__svg:last-of-type{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:100;flex-shrink:100}.elementor-widget-divider–element-align-right .elementor-divider-separator:after{content:none}.elementor-widget-divider–element-align-right .elementor-divider__element{margin-right:0}.elementor-widget-divider:not(.elementor-widget-divider–view-line_text):not(.elementor-widget-divider–view-line_icon) .elementor-divider-separator{border-top:var(–divider-border-width) var(–divider-border-style) var(–divider-color)}.elementor-widget-divider–separator-type-pattern{–divider-border-style:none}.elementor-widget-divider–separator-type-pattern.elementor-widget-divider–view-line .elementor-divider-separator,.elementor-widget-divider–separator-type-pattern:not(.elementor-widget-divider–view-line) .elementor-divider-separator:after,.elementor-widget-divider–separator-type-pattern:not(.elementor-widget-divider–view-line) .elementor-divider-separator:before,.elementor-widget-divider–separator-type-pattern:not([class*=elementor-widget-divider–view]) .elementor-divider-separator{width:100%;min-height:var(–divider-pattern-height);-webkit-mask-size:var(–divider-pattern-size) 100%;mask-size:var(–divider-pattern-size) 100%;-webkit-mask-repeat:var(–divider-pattern-repeat);mask-repeat:var(–divider-pattern-repeat);background-color:var(–divider-color);-webkit-mask-image:var(–divider-pattern-url);mask-image:var(–divider-pattern-url)}.elementor-widget-divider–no-spacing{–divider-pattern-size:auto}.elementor-widget-divider–bg-round{–divider-pattern-repeat:round}.rtl .elementor-widget-divider .elementor-divider__text{direction:rtl}
    Splošni in plačilni pogoji

    Screenshot: https://ibb.co/6wCh8s8

    I tried using CSS. I used div.woocommerce-terms-and-conditions p {display: none;}, and it works to some extent, but it also hides some stuff that it shouldn’t.

    Kind regards

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support CartFlows Team

    (@cartflows)

    Hello @jazzu ,

    Thank you for getting in touch with us!

    Placing the terms and conditions on the checkout page is managed by the theme, not by the CartFlows.

    To confirm this, you can switch the theme 2022 for a temporary purposes and you will see that the terms and condition collapsable box will not be displayed on the checkout page.

    The same should happen on the default WooCommerce’s Checkout page too.

    Regarding displaying the CSS code, is because, if you look at your privacy policy page, then you will see that there is an inline CSS added from the elementor.

    Here is the screenshot for the same: https://share.getcloudapp.com/Z4u1X7NQ

    The theme pulls the same content on the checkout page and displays on the collapsable box. So, I am thinking that while printing it the theme is making some changes due to which the CSS wrapper that is <style></style> tags are getting removed and the CSS is getting printed on the checkout page in the collapsable box.

    So, in this case, I would suggest you to get in touch with the theme author and if you need any more assistance in-between this, feel free to get in touch with us. We will be happy to help.

    I hope this clarifies you.

    Please let me know how it goes.

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @jazzu

    We haven’t heard back from you in a while so I am marking this thread as resolved.

    If you face the same issue or need any assistance feel free to open a new support thread or you can open a technical support ticket from our website.

    Have a great day and stay safe.

    Thread Starter jazzu

    (@jazzu)

    Hi @cartflows !

    Sorry, I didn’t see the email before.

    Yeah, I figured as much. I fixed the issue by recreating the Terms and conditions in default WordPress editor without Elementor. It displays normally now.

    Kind regards and thank you for your help!

    Awesome, we are happy that you figured out the solution.

    If you ever had any further queries, don’t hesitate to lodge a ticket at our support center.

    Have a great day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Privacy Policy displays code in Checkout page’ is closed to new replies.