New Landing How can we help? Atelier Child theme and translation

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Atelier
  • #322652
    HanneTBH
    Member
    Post count: 102

    It appears that my previous questions about this got a bit lost/forgotten in another long thread about something else, so I’ll try again, as this is a bit urgent for me now:

    1) How do I, step by step, install the child theme? Will doing so change anything on my site?

    2) How do I, step by step, go about putting my translation into the child theme so that I don’t have to keep translating my site every time I update the theme?

    Thank you!

    #322658
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    regarding the questions above:

    1) You just need to install atelier-child.zip just like any other theme, after installing it you need to activate it.
    That by itself won’t change anything, but future modifications in the child theme will make it possible to extend/changed the theme functionality.

    The child theme zip is inside the big zip that is downloaded from Themeforest.

    2)Inside the child theme create a directory called ‘languages’ and place there the language files .po and .mo
    Inside the functions.php add this line of code

    load_child_theme_textdomain( 'swiftframework', get_stylesheet_directory() . '/languages' );

    Hope it helps.

    -Rui

    #322661
    HanneTBH
    Member
    Post count: 102

    Thank you, I’ll try that!

    #322663
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.

    -Rui

    #322714
    HanneTBH
    Member
    Post count: 102

    I installer the child theme now, which so far looks like it went well except that the newsletter bar looks weird – the e-mail adress place holder is not centered (top-bottom) and the Subscribe-button has disappeared. Can you help?

    #322808
    David Martin – Support
    Moderator
    Post count: 20834

    Please be sure you are using the correct newsletter form code as per: http://www.swiftideas.com/knowledgebase/replicate-the-newsletter-bar-form/

    #322814
    HanneTBH
    Member
    Post count: 102

    That’s the one I’m using – I even copy/pasted it in again just to make sure, but it’s still weird.

    #322998
    David Martin – Support
    Moderator
    Post count: 20834

    Please disable the MailChimp plugin you have. It’s CSS is causing this to happen.

    Thanks.

    #323692
    HanneTBH
    Member
    Post count: 102

    I would really like to keep the Mailchimp plugin – is there any other way (custom css?) to fix this?

    #323696
    David Martin – Support
    Moderator
    Post count: 20834

    You can ask their support how best to deque their assets via a child theme. You could also try and force it using CSS:

    #sf-newsletter-bar .sub-code form input[type="submit"] {
        clear: none!important;
        display: inline-block!important;
    }
    #324244
    HanneTBH
    Member
    Post count: 102

    The css works perfectly! Thank you!!

    #324246
    David Martin – Support
    Moderator
    Post count: 20834

    Glad to help.

    Thanks

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register