• Resolved idaryl

    (@idaryl)


    I added the shortcode
    [insert page=’block-valentines-specials’ display=’content’] to display this:
    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul Ryan

    (@figureone)

    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

    (@idaryl)

    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

    (@figureone)

    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://github.com/dummy-team/dummy-wordpress/issues/35

    Thread Starter idaryl

    (@idaryl)

    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, 1 month ago by idaryl.
Viewing 4 replies - 1 through 4 (of 4 total)

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