Support » Plugin: Contact Form by BestWebSoft » Works, but it is a pain to style

  • The views and layouts (styling) of the form is hardcoded and mixed in a horrible spagetti code that is a pain to customize.

    Unless your are happy with their layout (a lot of unnecesary divs and hardcoded aligments) it is great.

    Otherwise, look elsewhere.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Could you please describe in more detail, what exactly you wanted to change but failed to do?

    Sincerely,
    BestWebSoft Support Team

    In general there are a lot of inline styling like these:

    $content .= '<div style="text-align: left; color: red;">'
    $content .='<div style="padding-bottom:5px;" >';
    $content .= '<div style="text-align: left;">

    Besides the fact that the whole HTML content is being created as a PHP string, these don’t have classes, so I can’t override the inline styling, without going into “hacking mode”, which I won’t do.

    I know this is WordPress, so I’m not expecting full clean separation of logic and views, but for example:

    If this:
    $content .= '<div style="text-align: left; color: red;">'

    Was this:
    $content .= '<div class="errormsg">'

    I could simply change the CSS, and make my error messages whatever my designers want.

    It seems the pro version has options to change styling on the admin section. So maybe this is not an issue but a feature.

    In any case If I ever can/need to pay for a Contact form Plugin, I would definetely consider this one, because it’s easy fast and very functional.

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    As for the style of the error messages – you are right, we will consider this question and make the necessary changes to the plugin (we will add a class for them).

    As for the rest – everything can be stylized, for example, you can stick to the form itself:

    #cntctfrm_contact_form

    Sincerely,
    BestWebSoft Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Works, but it is a pain to style’ is closed to new replies.