Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6116

    Hi all. Great theme.
    Question: when I use shortcodes of popular plugins like Gravity Forms, etc. the formatting seems to get screwy and the CSS also appears to be stripped out. Any recommendations?

    Also, for content, is it better to create a page, put content in a page, then select in the one page menu as content, or simply create a new TEXT menu item and place the content in there? Is there a difference, or best practices method you’d recommend?

    thanks!

    P

    #52922

    the main problem is with Gravity Forms. When I create a form and preview it, it comes out just fine. Then, when I put it into the one page portfolio via the page content section, it comes out stripped of style and even has some odd code showing. Here is a jpeg showing the preview, which renders fine, and the messed up page once its’ published. Any help or suggestions greatly appreciated.

    http://www.caminopr.com/main/wp-content/uploads/2011/09/signoncomposite.jpg

    #52923

    Hey,

    Open up css/custom.css and add:

    .gform_wrapper ul li{
    background: none !important;
    border: none !important;
    }

    I’d recommend pages because you can add images, etc. easily by using the wordpress editor.

    #52924

    Hi! Thanks for the reply and help. I really appreciate it. I added this to the css/custom but no dice. Doesn’t seem to be a noticeable change. I flushed the cache, etc. Any other suggestions/workarounds? Great theme, btw. Really enjoying working with it in spite of this little challenge.

    #52925

    Hi, just a follow up. I also checking with Gravity Formsand here was what they said:

    The problem is going to be due to the fact the Gravity Forms scripts and stylesheet are not being output. Most likely due to how that Themeforest heme works if it is a one-page theme… it most likely isn’t using a loop which means if you are using the shortcode the necessary scripts cannot be enqueued automatically.

    Because of this you will need to implement the Gravity Forms enqueue function in the themes functions.php file to enqueue the necessary scripts for that form. Documentation for this can be found here:

    seemed to work. Thought this might be useful in case someone else is using that plugin. Thanks for the prompt help and assistance!

    P

    #52926

    Glad that you found a solution :)

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘CSS / formatting gets stripped’ is closed to new replies.