Title: Inserted page dropping css
Last modified: January 30, 2018

---

# Inserted page dropping css

 *  Resolved [idaryl](https://wordpress.org/support/users/idaryl/)
 * (@idaryl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inserted-page-dropping-css/)
 * I added the shortcode
    [insert page=’block-valentines-specials’ display=’content’]
   to display this: [https://soundtherapyarts.com/block-valentines-specials/](https://soundtherapyarts.com/block-valentines-specials/)
 * Strange thing is: if I leave the original block inthe target page – then usee
   css to set the div to display none – add the insert page shortcode it displays
   the added page *I tested it by changing some of the content.
 * However if I remove the hidden block entirely fom the page, the problem re-occurs.
   Weird.
 * I tried turning on and off plugins but that didnt have any effect.
 * Any thoughts?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finserted-page-dropping-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inserted-page-dropping-css/#post-9919783)
 * Hm, I’m not quite following you. If you have an inserted page inside a div that’s
   been set to `display: none;` then the inserted page should be hidden as well.
   Sounds like there might be something up with your theme CSS…
 *  Thread Starter [idaryl](https://wordpress.org/support/users/idaryl/)
 * (@idaryl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inserted-page-dropping-css/#post-9920476)
 * Not quite – what I said was I had an inserted page into a div – it did not show
   the css correctly, so… as an experiment, I made created the same content on the
   same page in a div (then hid that) — then – bought in the insert via the plugin
   and it showed fine –
 * To tell if it was different (so they both were not exact) between the two, I 
   changed the content in some places of the inserted page, needless to say it displayed.
   Then I deleted the previous div (made with the content on the page) that I hid
   using css, leaving only the insert, and the css was then dropped.
 * This just led me to believe the plugin was not displaying the css applied to 
   the borders/backgrounds/ and color variants. You can see the diifference if you
   look at the page I created – and the page with that content inserted – links 
   above.
 * I just extended my testing to include the parameters *if the object were on the
   same page – would the insert dispaly correctly, yes it does. If not present, 
   then the insert does not display correctly. This is just some hypothetical testing
   methodolgy I employed.
 * Whatever the case, the css is dropeed when using the insert procedure. Odd behavior,
   though.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inserted-page-dropping-css/#post-9928335)
 * Looks like Visual Composer (assuming you’re using that, you never specified) 
   inserts some custom CSS in the head of specific pages, so it’s that markup that’s
   not being generated when a page is inserted. You can probably try created the
   custom CSS somewhere else, or maybe work on your Visual Composer template files,
   e.g.:
    [https://stackoverflow.com/questions/39631173/visual-composer-vc-shortcodes-custom-css](https://stackoverflow.com/questions/39631173/visual-composer-vc-shortcodes-custom-css)
   [https://github.com/dummy-team/dummy-wordpress/issues/35](https://github.com/dummy-team/dummy-wordpress/issues/35)
 *  Thread Starter [idaryl](https://wordpress.org/support/users/idaryl/)
 * (@idaryl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/inserted-page-dropping-css/#post-9928679)
 * Yes I am using Vis Composer – and, on other sites with this plugin installed 
   it works just fine.
 * **** I have no complaints about this plugin at all ****
 * Just that on this particular install, its acting weird… I’ll have to look into
   the css calls made by VC and see whats going on there.
 * I dont have to use it on this site – but I want to see if I can fix it; ( in 
   case I need to, if this “pops up” again somewhere else )
 * ps How do I edit/remove links from first post?
    -  This reply was modified 8 years, 4 months ago by [idaryl](https://wordpress.org/support/users/idaryl/).

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

The topic ‘Inserted page dropping css’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/insert-pages.svg)
 * [Insert Pages](https://wordpress.org/plugins/insert-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-pages/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [idaryl](https://wordpress.org/support/users/idaryl/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/inserted-page-dropping-css/#post-9928679)
 * Status: resolved