Title: Losing css code within shortcode
Last modified: April 16, 2021

---

# Losing css code within shortcode

 *  Resolved [jcmaad](https://wordpress.org/support/users/jcmaad/)
 * (@jcmaad)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/losing-css-code-within-shortcode/)
 * 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](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/losing-css-code-within-shortcode/#post-14338554)
 * Hi [@jcmaad](https://wordpress.org/support/users/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](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/losing-css-code-within-shortcode/#post-14431616)
 * Hi [@jcmaad](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/losing-css-code-within-shortcode/#post-14431616)
 * Status: resolved