Support » Theme: WP-Forge » update broke the layout

  • Resolved hash73

    (@hash73)



    Hi Thomas,

    Been a while.

    Just updated our WP core to 4.8.1 and the themes across our network. The sites layout has broken after update and all divs are floating left.

    Any ideas
    Hash

Viewing 12 replies - 1 through 12 (of 12 total)
  • here’s the site…

    site url

    In addition – just did the same to another site not on the network and same problem after updating to 4.8.1

    link here

    Theme Author Thomas

    (@tsquez)

    Hey there,

    Yes long time. The reason why this is happening is because foundation uses a new grid system called XY Grid.

    There are no more rows or columns. Now there are grid containers and cells.

    Please refer to the foundation documentation regarding this new grid and update your themes or child themes accordingly.

    http://foundation.zurb.com/sites/docs/xy-grid.html

    Please let me know how it goes. Sorry for the inconvenience.

    Hi,

    So basically just add my custom work to the new php files in the child theme? Will take a look at the docs but assume that’s the best way to proceed.

    Cheers

    Theme Author Thomas

    (@tsquez)

    yes pretty much. Like I stated before, it’s basically switching out rows with grid-container and columns with cell.

    Honestly I hope they don’t switch to something else…lol this is getting out of hand 😉

    Would have been nice to warn people that a simple update of the theme might break their site.

    The removal of rows & columns is major for anyone who used those classes.

    • This reply was modified 1 year, 2 months ago by  Sonja.
    Theme Author Thomas

    (@tsquez)

    Yes you are correct and I do apologize for any inconvenience, however I didn’t rewrite Foundation, Zurb did. All I did was update the foundation files within the theme.

    It’s also best to always test the update of a theme in a test environment, not on a live site. Even more so if you’re actually using the theme.

    • This reply was modified 1 year, 2 months ago by  Thomas.

    Hi

    Found a workaround to the issue and still working on making sure the new child theme works properly.

    I have a multisite setup. The Child CSS is not honouring the changes I make across the other sites. It seems the main theme CSS is being loaded on the other sub sites.

    For example…Jazz In London is loading the child CSS properly, but not for Madrid. I have other cities waiting for the update to roll out but need to be sure that the customisations I make, will be loaded properly across the network. I have content wraps and font cusomtisations that need to work.

    Is there something I have missed?

    Theme Author Thomas

    (@tsquez)

    hmmmmm should be working properly. I see you have the new wp-starter theme in place.

    Maybe try changing the priority of the child styles in functions.php. it looks like this:

    add_action('wp_enqueue_scripts','child_theme_style',999);

    maybe remove the 999 and make it look like this:

    add_action('wp_enqueue_scripts','child_theme_style');

    or change the value to something else like this:

    add_action('wp_enqueue_scripts','child_theme_style',0);

    Try that and let me know how it goes.

    Theme Author Thomas

    (@tsquez)

    Also I have never used Multiste before, so i don’t know if there may be a conflict of some kind.

    Do you develop locally and then upload or do you develop on the live sites?

    the master site i developed locally but once it went live – each new city is launched by cloning a master. allows for me to launch a city within a day.

    the priority fixed it Thomas. you’re a legend.

    Theme Author Thomas

    (@tsquez)

    Awesome, glad that got sorted out for you amigo 😉

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘update broke the layout’ is closed to new replies.