Appnitro Software Forums » MachForm 2

Advanced Embed overrides main CSS


  1. amadex
    Member

    Hi there,

    When placing a form using Advanced Embed (PHP), the form CSS overrides the page stylesheet!... Is there anyway around this? Anything I can do, without having to return to iFrame?...

    Rgds,
    Joao

    Posted 3 years ago #
  2. amadex
    Member

    Hey,

    Nobody helps with this?...

    Rgds,
    Joao

    Posted 3 years ago #
  3. The advanced embed code will override some of your page style indeed.
    Can you let me know the URL to your page?

    We might be able to figure out some solution.


    MachForm Founder

    Posted 3 years ago #
  4. amadex
    Member

    Hi Yuniar,

    I've sent you an e-mail.

    Rgds,
    Joao

    Posted 3 years ago #
  5. Got it, I'll reply there.


    MachForm Founder

    Posted 3 years ago #
  6. keola
    Member

    On a related topic, is there a way to have the forms use a single CSS file as opposed to each having its own?

    Right now a default stylesheet is created (in data/form_#/css/view.css) for each new form. If my form styling is consistent could I link all forms to a master view.css to only update one stylesheet?

    Thanks for any help.

    -k

    Posted 2 years ago #
  7. Yes, it is possible to use the master view.css under your machform folder.
    Simply open your MySQL console (or use PHPMyAdmin), go to your machform database and run below query:

    update ap_forms set form_has_css=0;

    This would instruct all your forms to use the master view.css instead of their own CSS file.


    MachForm Founder

    Posted 2 years ago #

RSS feed for this topic

Reply