Changes in the 3.0 update

  • Author
    Posts
  • #57940
    Zed
    Cryout Creations mastermind

    As we’ve announced here, Mantra version 3.0 brings several changes which can change things on your site:

    • Page templates have been rearranged – this will result in broken layouts on the (static) pages previously using page templates reverting to the general site layout.
      The solution is to edit these static pages and re-assign the corresponding templates to them.
    • Most of the styling and some of the scripts were rewritten – in combination with a caching plugin (or simply aggressive browser cache) this can result in broken layout, missing images, missing social icons and more throughout the site.
      The solution is to clear your plugin’s cache (if you’re using one) and to force refresh your browser.
    • Styles enqueues were rewritten entirely (to bring the functionality up to date with WordPress coding standards) – this is the change that can also cause most issues, especially if you’re using a child theme which relies on old code.
      Depending on the complexity of your child theme the update will simply require that you edit your child theme to use the new styling enqueue methods or may require a complete child theme rewrite.
      If you notice styling issues after the update because the styles get loaded in the wrong order, edit your child theme and replace the existing enqeues with:
      // enqueue parent theme styling
      function child_parent_styling(){
            wp_enqueue_style( 'mantra-style', get_template_directory_uri() . '/style.css', NULL, _CRYOUT_THEME_VERSION ); // main style.css
            if (is_rtl()) wp_enqueue_style( 'mantra-rtl', get_template_directory_uri() . '/resources/css/rtl.css', NULL, _CRYOUT_THEME_VERSION ); // rtl style.css
            wp_enqueue_style( 'mantra-child', get_stylesheet_directory_uri() . '/style.css' ); // child style.css
      }
      add_action('wp_enqueue_scripts','child_parent_styling');
      
    • Several theme settings have new defaults – these will not take effect on your site if you’ve already configured the theme, but if you’re still using the theme’s example presentation page images they will go missing after the update.
      You’ll need to set your own images or update their URLs to use the new sample images:
      1. http://yourdomain.tld/resources/images/slider/mantra-slider-1.jpg, -2 and -3 for the slides
      2. http://yourdomain.tld/resources/images/slider/mantra-column-1.jpg, -2 and -3 for the column images

    If you’re still having trouble after performing the described solution steps, don’t hesitate to start a topic or contact our support service.

    If you’re not happy with the 3.0 changes there’s also the option of reverting to the previous 2.6.1.1 theme release. WordPress does not provide a direct solution for this, however it can be done using the Rollback plugin: https://wordpress.org/plugins/wp-rollback/


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #57981

    Until I understand further how to correct the formatting caused by the latest update, please let me know how to install my previous version of Mantra.
    Thank you,
    Tom

    #58001

    Mantra is a really great theme, but having just updated to 3.0.2, as I noticed version 3.0 causes the organisation of tables and media files to become very messy. Previously I had 8 columns and 8 recordings in two rows, Now I can barely get 4 columns and as you attempt to play the media files the layout changes. see the url below
    I’d welcome any advice.
    Many thanks in advance

    Website: playthesaw.co.uk/wp/sessions-2

    #58004

    Hi!

    I just updated and my website has way too much padding/margins.
    http://www.karatedoshinyokai.com

    There wasnt this much space between text lines, borders, margins, padding, etc before the update.

    please help. thank you!

    Mark

    Website: www.karatedoshinyokai.com

    #58025

    An update to my post about tables. I discovered it is more to do with displaying the inbuilt media player to wordpress. For some reason the size can change and will change if you play a media file. I got around this by downloading a 3rd party media player.

    Website: playthesaw.co.uk/wp/sessions-2

    #58068
    Zed
    Cryout Creations mastermind

    @ThomasW, I have edited the first post with more information, including rollback.


    @chindmarsh
    , We have not customized or applied any player styling or behaviour. Did you check if the player behaves differently on Mantra than one of the default Twenty themes (for example)?


    @MarkL
    , the new padding is part of the updated design. Mantra used to be very cramped and small, current design trends use a lot more spacing all around (we’ve been quite reserved with this however in the 3.0 updates, trying to keep most of Mantra’s personality).


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #58230
    This reply is private.
    #58660

    I notice that the main layout dimensions can only be marked to “absolute” yet it used to be a percentage as an option. Why has this been removed? My tabs don’t fit on top of my layout anymore. PlayingWithPlays.com

    Please advise direction.

    Best,

    Brendan

    Website: PlayingWithPlays.com

    #58682
    Zed
    Cryout Creations mastermind

    @carnegie, thank you for pointing out this issue; it is fixed in 3.0.4


    @brendan
    , we have not supported the relative dimensions layout since Mantra 2.0.2 (released in 2013) and we disabled it on new theme installs in 2.6.1.
    Finally we removed the option completely in the 3.0 release because using it with the new styling changes would have resulted in a broken site.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #58700

    What was the issue pointed out by @carnegie – that message is marked private. I’m wondering if there is any need to update to 3.0.4.
    Thanks,
    John

    Website: rnshs.ca

    #58737
    heinenmja
    Power User

    I updated from 2.6.1.1 to 3.0.4 and the menu is not left next to the content but on the left-side under the content.

    I restore the backup of the 2.6.1.1, so the changes / strange things aren’t visible at the moment.
    I have screenshots of it.

    Website: www.jolandakniest.nl

    #58743

    Sorry to be so secretive @jgcordes…. The ‘extra text’ feature in the Presentation Page tab was mysteriously disappearing. There’s one more bug that looks like got fixed with the update: the ‘Headings’ font sizes were all appearing as oversized and bold. It looks like they’ve gone back to normal. Thanks Zed!

    #59304

    Help!
    I updated mantra.
    Now, all my titles ( ‘Headings’)are now TOO BIG! And it changes all my presentation.
    I was using headings 1, 2 and 3. And it fit perfectly.
    Now it’s all changed.
    When I’m on the editing, everything looks good. But when I go on the page, the titles are so big!
    I don’t want to go back to every articles and pages to changes my titles in my articles.
    What do I do?

    Website: supercardio.ca

    #60084
    This reply is private.
    #60261
    Zed
    Cryout Creations mastermind

    @Amirasu, I see the social icons are visible on the site now.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #63729

    I would really like to find out the answer to Supercardio’s question. I’ve put a similar request in the forums.

    Website: www.aym4training.com

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

The topic ‘Changes in the 3.0 update’ is closed to new replies.