• Resolved jcmaad

    (@jcmaad)


    Hello,

    I am importing the following code:

    \[vc_row]\[vc_column el_class="stm-vc-single-car-content-left" offset="vc_col-lg-9"]\[stm_car_top_info]\[vc_raw_html css=".vc_custom_1613180938072{margin-top: -5px !important;margin-bottom: 10px !important;}"]JTVCYWRkdGhpcyUyMHRvb2wlM0QlMjJhZGR0aGlzX2lubGluZV9zaGFyZV90b29sYm94JTIyJTVE\[/vc_raw_html]\[stm_car_listing_gallery]\[stm_car_listing_details]\[stm_heading_title title="Sellers Notes"]\[stm_car_seller_note]\[/vc_column]\[vc_column el_class="stm-vc-single-car-sidebar-right" offset="vc_col-lg-3"]\[stm_sidebar sidebar="1668"]\[/vc_column]\[/vc_row]

    but when import is complete, the following gets dropped css=".vc_custom_1613180938072{margin-top: -5px !important;margin-bottom: 10px !important;}"

    is there a way to prevent it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @jcmaad,

    You can fix that by escaping the curly braces as well, see:

    \[vc_row]\[vc_column el_class="stm-vc-single-car-content-left" offset="vc_col-lg-9"]\[stm_car_top_info]\[vc_raw_html css=".vc_custom_1613180938072\{margin-top: -5px !important;margin-bottom: 10px !important;\}"]JTVCYWRkdGhpcyUyMHRvb2wlM0QlMjJhZGR0aGlzX2lubGluZV9zaGFyZV90b29sYm94JTIyJTVE\[/vc_raw_html]\[stm_car_listing_gallery]\[stm_car_listing_details]\[stm_heading_title title="Sellers Notes"]\[stm_car_seller_note]\[/vc_column]\[vc_column el_class="stm-vc-single-car-sidebar-right" offset="vc_col-lg-3"]\[stm_sidebar sidebar="1668"]\[/vc_column]\[/vc_row]

    Plugin Author WP All Import

    (@wpallimport)

    Hi @jcmaad,

    I’ve marked this as resolved since it’s been inactive for a while. Please feel free to open a new topic if you have any other questions.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Losing css code within shortcode’ is closed to new replies.