Popup message formatting - by lxmag - on WordPress WooCommerce support

This topic has 10 replies, 3 voices, and was last updated 8 years, 1 months ago ago by Jack Richardson

  • Avatar: lxmag
    lxmag
    Participant
    February 26, 2016 at 12:18

    Hi everyone!

    I can’t to change popup message correctly, namely: change fonts and phrase “Don’t show this message again”. I found it in ‘/framework/theme-functions.php’ but can’t attach changes to my child theme.
    And one more thing: it seems that popup background image looks blurred than in media library.

    Thanx.

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 26, 2016 at 12:50

    Hello,

    1) Please provide us with FTP credentials in Private Content.
    2) You need to upload an image with bigger dimensions. For example 750×350 px.

    Regards,
    Robert Hall

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 26, 2016 at 12:57

    Hello,

    Please provide us with FTP credentials as well.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: lxmag
    lxmag
    Participant
    February 26, 2016 at 16:06

    1. Here they are
    2. http://imgur.com/JnDUD41

    Please, contact administrator
    for this information.
    Avatar: lxmag
    lxmag
    Participant
    February 27, 2016 at 11:10

    Guys?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 29, 2016 at 09:56

    Hello,

    Please take our apologies for a delay.
    Your child theme was created incorrectly. I’ve changed it as described in WordPress documentation https://codex.wordpress.org/Child_Themes

    Also I’ve added the following css code in your child style.css file to fix the issue with popup background:

    #etheme-popup {
      background-image: url(http://kar.zzz.com.ua/wp-content/uploads/2016/02/youmustbenewhere.jpg) !important;
    }

    To change phrase “Do not show this message again” I’ve pasted needed part of code from the theme-functions.php file to your child functions.php file so now you can edit the mentioned message to your needs.

    To change popup message font styling use this css in child style.css:

    .white-popup-block h1 span {
        font-size: 18px !important;
        font-family: Arial !important;
    }
    
    .white-popup-block p {
       font-size: 14px !important;
       font-family: Arial !important;
    }

    Change values to your needs.

    Best regards,
    Jack Richardson.

    Avatar: lxmag
    lxmag
    Participant
    February 29, 2016 at 13:51

    It seems that it works. Thanx a lot! But there was a problem with Media Library (no images). When I change theme to main – all is ok. And what should I do now with “Fonts” directory in child theme?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 29, 2016 at 16:42

    Hello,

    The problem with media displaying when child theme is activated is solved. Please check it now.

    And what should I do now with “Fonts” directory in child theme?

    You can delete Fonts folder in child theme if you don’t need it.

    Best regards,
    Jack Richardson.

    Avatar: lxmag
    lxmag
    Participant
    February 29, 2016 at 18:42

    About fonts in subdirectory I meant that they was in style.css with @font-face rule.
    Now they’re lost 🙂 But doesn’t matter.

    Thanx again.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 29, 2016 at 19:52

    Hello,

    You are welcome.

    About fonts in subdirectory I meant that they was in style.css with @font-face rule

    When I opened your child style.css first time it didn’t have any style rules, so your custom fonts weren’t included. And sure if you want to use them you can leave them and include using @font-face rule.

    Best regards,
    Jack Richardson.

  • Viewing 10 results - 1 through 10 (of 10 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.