Popup script in footer – style problem

This topic has 11 replies, 3 voices, and was last updated 8 years, 4 months ago ago by Eva Kemp

  • Avatar: Fantasia
    Fantasia
    Participant
    November 21, 2015 at 16:19

    Hello,

    I’d like to use a popup code (form to subscribe to newletter) in my footer. The javascript code comes from a program called MailMaster, this is my newsletter sender application. I made the form and style in MailMaster, but the Subscribe button in the footer doesn’t appears the way I would like. MailMaster support says that the popup css (called from MailMaster) and my theme css are mixing, some of the theme css codes overwrites the original, so the button in the footer doesn’t appear correctly.

    The code I inserted into a “Raw JS” object:

    <link rel="stylesheet" href="https://salesautopilot.s3.amazonaws.com/newsletter/letter/c18697/formtemplates/main-kihzms8.css" type="text/css" media="screen" /><link type="text/css" rel="stylesheet" media="all" href="https://d1ursyhqs5x9h1.cloudfront.net/sw/css/iframe-popup1.1.css" />
    <script type="text/javascript">
    var listId = 43547;
    var formId = 79312;
    var popupWidth = 705;
    var popupHeight = 600;
    var openAfterMins = 120;
    var openAfterSec = 5;
    var randomParam = 1448059747;
    var mmDomain = 'salesautopilot.s3.amazonaws.com';
    var secure = ('https:' == document.location.protocol)?true:false;
    var closeTitle = 'Bezárás';
    var isExit = false;
    var isButton = true;
    var openButtonTitle = 'Feliratkozás';
    var btnid = 'openmmpopuplayer793121448059747';
    </script>
    <script type="text/javascript" src="https://d1ursyhqs5x9h1.cloudfront.net/sw/scripts/mm-exitpopup-1.13.min.js"></script>

    Could you please help me, how to solve this problem?

    Thank you,
    Zsu

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    November 24, 2015 at 09:15

    Hello

    You may add scripts into the Child theme functions.php. Please use Child theme funtions.php file to add .css and .js files.
    Please refer to this article about adding your custom form css styles:
    http://wp.zacgordon.com/2013/03/13/adding-css-to-wordpress-theme-via-functions-php-file/.
    Here you may read about Child theme:https://codex.wordpress.org/Child_Themes.
    Raw js element may contain working code . Css and js file links should be attached externally in Child theme to prevent overwriting during update or into the header.php in dasboard->appearance->editor. Please tell us your site credentials(not wp-admin) to enter in case any further assistance is needed.

    Regards,
    Brian Johnson

    Avatar: Fantasia
    Fantasia
    Participant
    November 24, 2015 at 22:44

    Hello Brian,

    I will be honest, I’m absolutely not familiar with these codes, neither css, not js. I don’t dare to write anything to the css or js files.
    In my last post you can find my FTP credentials too. Could you please make it for me, if it is possible? The code I copied in the prewious post should run only when my coustomes click to the “Feliratkozom” button in the footer (this is working now, this part is OK). The only problem is with the style of the button, as you can see on my Home page.
    It would be good, if only in that DIV element, which contains the Raw JS element, was no css styles, so the code could refer to the styles what were set in MailMaster.
    I hope this is possible… for me it’s too complicated.

    Thank you for your help,
    Zsu

    Avatar: Brian Johnson
    Brian Johnson
    Member
    November 25, 2015 at 12:56

    Hello

    Please provide us with login to the site. Check this sreenshot: http://prntscr.com/96qb2j.

    Regards
    Brian Johnson

    Avatar: Fantasia
    Fantasia
    Participant
    November 25, 2015 at 13:07

    Hello,

    oh I see. Sometimes WordPress brings this page for security reasons. You should write only wp and wp, and then, on the next page, the login datas I gave you.

    Thanks,
    Zsu

    Avatar: Brian Johnson
    Brian Johnson
    Member
    November 26, 2015 at 10:12

    Hello

    We have checked the credentials you gave and not able to login. Please check them.

    Regards,
    Brian Johnson

    Avatar: Fantasia
    Fantasia
    Participant
    December 9, 2015 at 11:31

    Hello Brian,

    I’ve checked the password and login name, they are correct, please try again, I write some more infos in private content.

    Thank you very much,
    Zsu

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 9, 2015 at 14:58

    Hello,

    Please specify where you have added your JS code and show a screenshot how popup form should be displayed.
    Also show a documentation where you found that code.

    Thank you.

    Regards,
    Eva Kemp.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    December 9, 2015 at 15:00

    Hello, Fantsia.

    I have added script into the child theme and functions.php. I see that script contains some error in fuctioning. Sorry for inconveniences further customizations lays beyound the scope of our support service.

    Regards,
    Brian Johnson

    Avatar: Fantasia
    Fantasia
    Participant
    December 9, 2015 at 15:43

    Hello,

    please see private content.

    Thanks,
    Zsu

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 9, 2015 at 16:27

    Hello,

    Please take our apologies.
    The mail account of our support representative was hacked due to his own inadvertence.
    We’ll resolve this issue in short time. Thank you for your alertness and notification.
    Don’t answer any emails that are sent from non-official mail account of our company.

    Thank you for understanding.

    Regards,
    Eva Kemp.

  • Viewing 11 results - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.