• 0
alwinoei

Wordpress layout error deploy

Question

In Caspio when I do a preview (see right photo), the form i designed looks just fine, and without lines.

After deploying the data in Wordpress (see left photo), the layout is completely different with lines etc. and very much not ok.

How to get the exact layout as seen in Caspio preview, so without lines etc.

Current Wordpress version: 4.7.2 (the latest)

Plugin: Custom Database Applications by Caspio version 2.0

What to do?

Screenshot 2017-02-22 23.13.09.png

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0
On 2/22/2017 at 2:25 PM, alwinoei said:

In Caspio when I do a preview (see right photo), the form i designed looks just fine, and without lines.

After deploying the data in Wordpress (see left photo), the layout is completely different with lines etc. and very much not ok.

How to get the exact layout as seen in Caspio preview, so without lines etc.

Current Wordpress version: 4.7.2 (the latest)

Plugin: Custom Database Applications by Caspio version 2.0

What to do?

Screenshot 2017-02-22 23.13.09.png

Hi, 

Style of the theme in site builder overwrite Caspio style, since you embed datapage on a webpage and elements of the datapage inherit style attributes from site builder. 

The workaround is to deploy the datapage in iframe (not the best option if you pass parameres or redirect user after submission).

Another option - editing style attributes of theme and removing or editing those attributes which overwrite caspio style. It easily can be found using developer tools in your browser (hit F12 to call dev.tool)

To remove borders, insert the following code in the header of the datapage:

<style>
#caspioform tr
{
border: none !important;
}
#caspioform td
{
border: none !important;
}
</style> 

 

Share this post


Link to post
Share on other sites
  • 0
On 2/25/2017 at 6:51 AM, alwinoei said:

I have now successfully implemented the form in Wordpress, but around the complete form there's border, that I did not configure. How to het rid of this border?58b199b0c2c03_Screenshot2017-02-2515_48_20.png.b2fa07777923ae31b57557412b52c6be.png

Send me the URL in personal messages and I let you know which attribute you should edit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now