We're upgrading our support forum. Replies are currently closed. Please view our Documentation and FAQ using the menu above.
Hi. I’m not sure how to style this as there are so many css files in use!
Trying to make the embedded form transparent so it has our normal site background etc. At the moment it is just white and grey and have removed this from all the css files I can which reference background-color.
Do all of these have to be loaded with the form?
<link rel=”stylesheet” href=”/crm2/css/styles.css?ver=5″ type=”text/css” />
<link rel=”stylesheet” href=”/crm2/css/desktop.css?ver=5″ type=”text/css” />
<link type=”text/css” href=”/crm2/css/smoothness/jquery-ui-1.9.2.custom.min.css” rel=”stylesheet” />
<link rel=”stylesheet” href=”http://oursite.com/crm2/includes/plugin_theme/themes/metis/lib/bootstrap/css/bootstrap.min.css” type=”text/css”> <link rel=”stylesheet” href=”http://oursite.com/crm2/includes/plugin_theme/themes/metis/css/main.css” type=”text/css”> <link rel=”stylesheet” href=”http://oursite.com/crm2/includes/plugin_theme/themes/metis/lib/font-awesome-4.0.3/css/font-awesome.css” type=”text/css”> <link rel=”stylesheet” href=”http://oursite.com/crm2/includes/plugin_theme/themes/metis/css/theme.css” type=”text/css”> <link rel=”stylesheet” href=”http://oursite.com/crm2/ext.php?m=theme&h=css&&uniq=ebaca5deb6936d33f88c0870db29ad63″ type=”text/css”> <link rel=”stylesheet” href=”http://oursite.com/crm2/includes/plugin_theme/themes/metis/css/external.css” type=”text/css”> <link rel=”stylesheet” href=”/crm2/temp/cache-ad75b23566f10a6a864bfdd5bc371e3b.css” type=”text/css”>
For anyone else who might be wondering at any point, I just removed all the links to the stylesheets and the form still works.
Wordpress however is a PITA to embed the form on as it likes to add p and br tags, or remove them. Took a while to get the form working and it has still put p tags around my js files meaning a big blank gap at the top of the form.
Preventing WP from doing this made all my previous pages turn in to a massive wall of text so I had to let it be 🙁
Next step is preventing WP from adding those tags on just the ticket form page.
Some people choose to disable the wpautop filter from within their theme’s functions.php:
remove_filter( ‘the_content’, ‘wpautop’ );
But if like me you already have a lot of pages formatted partly by WP auto bullsh*t then you wont want to take this route!
Just found a plugin that will disable auto formatting on a post per post basis (and doesn’t automatically mess up your old content).
The forum ‘General Support’ is closed to new topics and replies.