Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Contact Form custom CSS

Open dk-wordpress opened this issue 11 years ago • 4 comments

Hello!

I tried to replace default CSS files for Contact Forms (from a page builder) shortcode, and it seems it is not loaded at all, default CSS file loads all the time.

I tried to overwrite it regarding these instructions http://manual.unyson.io/en/latest/extension/forms/#customize-views

is it a bug, or it is not possible to override these default styles?

Thank you!

dk-wordpress avatar Sep 27 '15 10:09 dk-wordpress

did you copy static.php to your override and changed the link for it inside? https://github.com/ThemeFuse/Unyson-Forms-Extension/blob/master/static.php#L6

if you did and is not working might be connected to #890

danyj avatar Sep 27 '15 11:09 danyj

Just tested override works , copy https://github.com/ThemeFuse/Unyson-Forms-Extension/blob/master/static.php#L6

to

framework-customizations/extensions/forms

so it becomes

framework-customizations/extensions/forms/static.php

change that line to your CSS file link

danyj avatar Sep 27 '15 11:09 danyj

Thank you for a quick reply! I thought that it is enough to replace CSS file, like a template file, thank you again!

dk-wordpress avatar Sep 27 '15 11:09 dk-wordpress

no , seems like it is not reading if the CSS ifle is in override or not, not sure if it should ( unnecessary check since we are overriding ourselfs ) but since it is an override you can change that link to anything you need.

danyj avatar Sep 27 '15 11:09 danyj