• I updated from 4.3.1 to 4.4.2 automatically yesterday. Unfortunately I did not look at the site immediately before updating (last looked a few days ago) and now the site is not displaying properly. It just shows text and photos left justified not in a theme. Could the update have done this in which case can I go back to earlier version or not. I do have a back up. site is https://www.cartrefni.com Many thanks Neil

Viewing 8 replies - 1 through 8 (of 8 total)
  • if you see the head tag of your page the css path has a space

    <link rel="stylesheet" id="screen-css" href="https://www.cartrefni.com/wp-content/themes/cartref-ni%20/css/screen.css?ver=4.4.2" type="text/css" media="all">

    change the above to

    <link rel="stylesheet" id="screen-css" href="https://www.cartrefni.com/wp-content/themes/cartref-ni/css/screen.css?ver=4.4.2" type="text/css" media="all">

    and it should be fine

    It’s possible that your theme is causing an issue with the upgrade, especially if it’s not a rapidly and proactively supported theme. To see if your theme is the issue, deactivate it and activate the default WordPress theme, which is guaranteed to work flawlessly with the WordPress update.

    Just to make sure try deactivating all plugins. If this works, reactivate it one by one until you find the problematic plugin(s).

    If neither of this works you need to contact your theme’s support.

    Thread Starter neilcartrefni

    (@neilcartrefni)

    Thank you for your comments. in terms of the space would the update have inserted it or would previous version just have accepted it? Also where to I amend this as if I just type the revised into browser it does not work it brings up a notepad with various messages on?
    Many thanks Neil

    not sure how the space was inserted. wordpress update should not affect the theme files.

    1. Check the foldername of your theme.
    2. Check the functions.php for wp_enqueue_style function
    3. check header.php of your theme

    con you copy paste the functions.php and the header.php of your theme?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    con you copy paste the functions.php and the header.php of your theme?

    Please do not do that, it doesn’t work here.

    @neilcartrefni What theme is that and where did you download it from?

    @jan, just to confirm, the code from funtions.php cannot be copied here?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Not well. If you need to copy hundreds of lines then don’t. It just becomes a huge unmanageable mess

    Use pastebin.com if you must.

    But more to the point, which theme is this and where was it downloaded from? if it is a WordPres repo theme then the code is easily available for viewing.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Could wordpress update stop theme working’ is closed to new replies.