-
AuthorPosts
-
March 10th, 2021 at 11:49 #115123eludlowPower User
Install 2.4 last night and it’s really not made my header images look good! I can’t get it to display at the correct height at all, despite what is set in the Parabola settings. A bit annoying, but will roll back to 2.3.2.2 for now.
March 10th, 2021 at 11:55 #115125eludlowPower UserIndeed I’ve just compared 2.3.2.2 and 2.4 and the newer version seems to break a few things including the header, but also fonts etc. Will stick with the former for now!
March 10th, 2021 at 23:11 #115172Hello, I am having issues with 2.4.
How can I roll back to 2.3.2.2?Thank you
YannMarch 11th, 2021 at 16:01 #115180If you have any CSS in the Parabola MISCELLANEOUS SETTINGS, try taking it out and putting it in the WordPress Customiser Additional CSS. Cleared a few glitches for me..
March 11th, 2021 at 17:29 #115189eludlowPower UserSadly that didn’t work for me, but nice idea!
March 11th, 2021 at 17:42 #115190ChrisPower UserI had the same problem – If you have a child theme, update to the latest version, as that worked for me.
March 11th, 2021 at 17:43 #115191eludlowPower UserI tried that, however my child theme is a self created one. I may just have to sit this update out!
March 11th, 2021 at 17:51 #115192ChrisPower UserThats a shame that didn’t work. Hopefully you’ll figure a way around it.
Could you add their child theme and migrate your settings across?
- This reply was modified 3 years ago by Chris.
March 11th, 2021 at 17:51 #115193eludlowPower UserI think that’ll be next. Cryout have kindly offered to have a look at my child theme to see if there’s anything obvious. Great service!
March 11th, 2021 at 17:55 #115194ChrisPower UserThey are brilliant!
March 11th, 2021 at 20:38 #115223eludlowPower UserWell all sorted, huge thanks to Zed from support who tided up my custom functions.php and added the 2.4 functionality.
March 11th, 2021 at 22:20 #115238Some guidance would be useful.. if I update the theme to 2.4, do I need to re-make my child theme or adjust it in any way?
March 12th, 2021 at 20:46 #115264ZedCryout Creations mastermindHi,
Any styling/layout issues you may be seeing after updating an older install to 2.4.0 are probably due to using a child theme that will require updating for some code changes.
There should be no issues observed if you’re not using a child theme.Previously, Parabola was using an action hooked into the
wp_head
hook to enqueue all its styles.
Version 2.4.0 changes these enqueues to the properwp_enqueue_scripts
hook.If your child theme still uses the previous hook, then the necessary styles (main, options-generated, mobile and child theme’s) will be loaded in the incorrect order, causing default styles to override configured and custom ones. You will need to update the code in the child theme to be similar to the example below:
// enqueue parent theme styling function child_parent_styling(){ wp_enqueue_style( 'parabola-style', get_template_directory_uri() . '/style.css', array(), _CRYOUT_THEME_VERSION ); // restore correct parent stylesheet wp_enqueue_style( 'parabola-child', get_stylesheet_directory_uri() . '/style.css', array( 'parabola-style' ), '20210312' ); // enqueue child } add_action('wp_enqueue_scripts','child_parent_styling');
The style identifier
parabola-style
should be present exactly with this name as there are secondary styles enqueued conditionally after it.If you are using our NoLink child theme, an updated version is available for download in the customer account.
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.March 12th, 2021 at 21:41 #115276eludlowPower UserJust to echo what I said above, and have said to Zed privately, but huge thanks to him for the timely and efficient way he dealt with my problems after updating to 2.4. A perfect example of how customer service should be run!
Kudos!
March 15th, 2021 at 12:51 #115421Sorry, I’m not clear on this, does the code block above replace all of the wp_enqueue_style code in the child theme’s functions.php ?
As I don’t understand the PHP enqueuing stuff, would the same effect be achieved by moving all CSS from the Nirvana child them misc. settings into the WordPress Custom CSS?
Thanks.March 21st, 2021 at 22:53 #115706ZedCryout Creations mastermind@Ian-ITS: the code block above is an example of how the (child) theme’s enqueueing should look.
If you’re only applying custom styling, WordPress’ Additional CSS field (or a CSS plugin) usually suffices. If you’re customizing (replacing) theme code, then a child theme is needed (some tweaks can also be implemented using a plugin instead).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. -
AuthorPosts
The topic ‘2.4 has broken my header’ is closed to new replies.