Menu background color after update

gkomar / 2014-03-03 06:31:21   

Hello, I just did the update to 2.0 but menu background color changed to white and I'd like it to remain black. I searched the forum but I couldn't find a solution. Changing value in 47th line of style.css doesn't make any difference. This is my site: gkomar.com

arsondpi / 2014-03-03 08:55:21   

Hello.
According to this post indexhibit.org/tutorials/upgrade/updating-templates-and-exhibit-formats/
you should update/edit style.css (ndxzsite/default/style.css) and in particular the #index css selector.

gkomar / 2014-03-03 17:05:48   

But ndxzsite is a new directory not present in 0.7, I copied it from 2.0 instalation. What should I update syle.css with? But anyways, according to the instructions I should change #menu and #content strings with #index and #exhibit strings. Problem is that there are no #menu and #content strings in ndxzsite/default/style.css file.

Vaska A / 2014-03-03 17:09:52   

It's really best to work your customizations in one at a time - you'll get better results.

For the background color...look for #index in /ndxzsite/default/style.css and change the backround. Like:

  1. #index {
  2. background-color: #000;
  3. }
gkomar / 2014-03-03 17:27:06   

Yes, this is 47th line, I found it before. Problem is that changing #000 value and even changing 'background' to 'background-color' does not change the color.

Vaska A / 2014-03-03 17:35:09   

Because it's still white:

  1. #index { width: 215px; background: #fff; /* line-height: 1.3em; */ }

How are you changing the value - which app are you using?

gkomar / 2014-03-03 20:07:26   

Either the value is #000 or #fff or anything else the background is always white.

I'm using Notepad++ but also tried to change it in the CMS (Settings - Assets - style.css). No effect.

gkomar / 2014-03-03 20:09:37   

Looks like it must be something else to change..

arsondpi / 2014-03-03 20:16:59   

Did you try a code editor? Are.you sure you're replacing the right file?

gkomar / 2014-03-03 20:21:49   

Notepad++ is a code editor. I'm replacing ndxzsite/default/style.css. I tried also to clear browser cache and it doesn't help. I checked it also by other browsers.

arsondpi / 2014-03-03 22:08:53   

I still get a #fff background colour in line 47 for #index

gkomar / 2014-03-03 22:23:48   

Now there is #000 and still no change.

arsondpi / 2014-03-03 22:36:28   

No it's not - it's still #fff

gkomar / 2014-03-03 22:49:57   

I'm confused.. Is it in root/ndxzsite/default/style.css and 47th line?

#index { width: 215px; background: #000; /* line-height: 1.3em; */ }

Please confirm.

gkomar / 2014-03-03 23:05:42   

I used Indexhbit Style v1.0 for customizing menu text (like text color and line height). Maybe it makes the problem? However, there is no setting for background color in that plugin.

gkomar / 2014-03-03 23:22:56   

I just did a test. I made a new clean 2.0 installation under my second domain: fotografowanie.org. And I just changed the value of background in 47th line to #000. And it works.

That means that the upgrade of my installation under gkomar.com hasn't been done properly. So, looks like it's something else needed to change. Any ideas?

If not then I guess I'll have to configure my website from the beginning :(

Vaska A / 2014-03-03 23:38:38   

No ideas. This kind of change is not an Indexhibit problem - it's a problem of your editing setup. It works on one but not the other - what is not different? We can't control your FTP or editing workflow.

Don't reinstall - that's not necessary (why do people do that?).

gkomar / 2014-03-03 23:45:35   

OK, so please tell me, why it works for one installation and does not for another? In both cases I did everything the same, using the same FTP software and the same text editor. The second installation is in fact on the same server, in a subdirectory with an assigned domain.

Vaska A / 2014-03-03 23:47:42   

I can't tell you why. I absolutely have no idea. We do not control your workflow. Indexhibit is not an FTP application.

gkomar / 2014-03-04 04:16:00   

I decided to make a new installation and configured everything from the beginning. Works fine now. It must have been a problem with update.

Vaska A / 2014-03-04 04:43:37   

Sigh...you were not saving the changes to the file. Otherwise, we would have seen them. Indexhibit can not stop you from updating your files.

Anyways...progress...

This thread has been closed, thank you.