CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade to 4.3 (have now lost styling) [SOLVED]
Pages: [1]

Author Topic: upgrade to 4.3 (have now lost styling) [SOLVED]  (Read 793 times)

sailormatt

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 1
  • Explore, Dream, Discover!
    • Morvargh Sailing Project
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 2.5.11
  • MySQL version: 5.1.41
  • PHP version: 5.5.30
upgrade to 4.3 (have now lost styling) [SOLVED]
April 14, 2013, 06:54:31 am
Hi all

I've just completed the upgrade from 4.2.8 to 4.3 which all went very well, no errors or issues during the process.

On entering the backend of my Joomla (2.5.9) site and using Civi it seems I have lost all the styling, see hyperlink to a screenshot http://www.morvargh-sailing.co.uk/screen.png for an example.

Looking at the page source shows civi loading css files and these all point to an actual file which the browser can see so ok there I think.  I've also deleted the templates_c folder just in case and this hasn't worked either.

Can anyone point me in the right direction to get civi looking as it was???

Thanks in advance of any help or pointers

Matt
« Last Edit: April 15, 2013, 03:50:29 am by sailormatt »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: upgrade to 4.3 (have now lost styling)
April 14, 2013, 08:29:35 am
Do you have a custom css file you've specified?
That would override the core css and prevent it being loaded.
Try asking your question on the new CiviCRM help site.

sailormatt

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 1
  • Explore, Dream, Discover!
    • Morvargh Sailing Project
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 2.5.11
  • MySQL version: 5.1.41
  • PHP version: 5.5.30
Re: upgrade to 4.3 (have now lost styling)
April 14, 2013, 08:40:59 am
Hey,

I don't have any custom CSS loaded although do have the directory set in the settings there are no custom css files loaded, the page source for the backend looks like this in the head

Code: [Select]
<link href="/administrator/templates/bluestork/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
  <link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
  <link rel="stylesheet" href="templates/bluestork/css/template.css" type="text/css" />
  <link rel="stylesheet" href="/administrator/components/com_civicrm/civicrm/packages/jquery/css/jquery.autocomplete.css?r=ZjQhq" type="text/css" />
  <link rel="stylesheet" href="/administrator/components/com_civicrm/civicrm/packages/jquery/css/menu.css?r=ZjQhq" type="text/css" />
  <link rel="stylesheet" href="/administrator/components/com_civicrm/civicrm/packages/jquery/css/token-input-facebook.css?r=ZjQhq" type="text/css" />
  <link rel="stylesheet" href="/administrator/components/com_civicrm/civicrm/packages/jquery/jquery-ui-1.9.0/css/smoothness/jquery-ui-1.9.0.custom.min.css?r=ZjQhq" type="text/css" />
  <link rel="stylesheet" href="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/DataTables/media/css/demo_table_jui.css?r=ZjQhq" type="text/css" />
  <link rel="stylesheet" href="http://www.morvargh-sailing.co.uk/media/civicrm/css/" type="text/css" />
  <link rel="stylesheet" href="/administrator/components/com_civicrm/civicrm/css/joomla.css?r=ZjQhq" type="text/css" />
  <style type="text/css">

The only thing I can see is that there is a ?r=ZjQhg bit on the end of the files but they all point to something that exists.  Am I right in thinking it is a CSS problem??

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: upgrade to 4.3 (have now lost styling)
April 14, 2013, 09:00:56 am
That's not right. You should have civicrm.css in your header.
Try asking your question on the new CiviCRM help site.

sailormatt

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 1
  • Explore, Dream, Discover!
    • Morvargh Sailing Project
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 2.5.11
  • MySQL version: 5.1.41
  • PHP version: 5.5.30
Re: upgrade to 4.3 (have now lost styling)
April 14, 2013, 09:44:46 am
Ah, that will be it then! THANK YOU!

(update) I've looked at administrator/components/com_civicrm/civicrm/css/ and civicrm.css is there.
(update2) I've also copied civicrm.css to my custom css folder and still have the same issue :-(

Would you possibly know where the best place to look as to why it's not loading it?

I'm thinking that perhaps the upgrade missed some files perhaps, although the rest of civi functionality seems to be working ok.
« Last Edit: April 14, 2013, 10:07:14 am by sailormatt »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: upgrade to 4.3 (have now lost styling)
April 14, 2013, 01:25:11 pm
You should delete your custom css url from system settings.
Visit /civicrm/admin/setting/url?reset=1 and clear the contents of "Custom CiviCRM CSS URL"
The presence of that setting tells civi not to load its own css files and to use yours instead. I thought it was the same in 4.2.
Try asking your question on the new CiviCRM help site.

sailormatt

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 1
  • Explore, Dream, Discover!
    • Morvargh Sailing Project
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 2.5.11
  • MySQL version: 5.1.41
  • PHP version: 5.5.30
Re: upgrade to 4.3 (have now lost styling) [SOLVED]
April 15, 2013, 03:50:08 am
Hi Coleman

Thank you so much for the prompt replies and help, that fixed it!

Regards and thanks again

Matt

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade to 4.3 (have now lost styling) [SOLVED]

This forum was archived on 2017-11-26.