Forums » Customize

Changing Theme

Diaph
SWITZERLAND
2009-02-27 00:05:53
Permalink Post
 

Hi there,

Regarding the fact I'm quite a beginner I would like to apologize in advance in case of my question would be obvious.. but after many search I didn't find the answer.

So I'm wondering if it's possible to have a different theme inside of the same website. Obviously I got how to change the background color of the galleries and I got how to modifiy the menu using php but I didn't get how to be able to have a changing menu.

Concretely I would simply like to have a different background menu color regarding the section I click. It is possible ? and how ?

Cheers

D.

Vaska A
I WROTE THIS
2009-02-27 00:13:12
Permalink Post
 

When you create a new section it attaches itself to an id number - you can find this by going into the Exhibits > Settings and clicking on a section to edit it - look in the browser address bar for "id=some number".

Then, in your template add this to the 'body'...it will then look like this...

  1. <body id='section_id_<%section_id%>'>

Then, in your style.css file you can apply background colors like this...

  1. body#section_id_1 { background-color: #0c0; }
  2. body#section_id_2 { background-color: #000; }
  3. body#section_id_3 { background-color: #f00; }

And that should do it.

Diaph
SWITZERLAND
2009-02-27 00:46:33
Permalink Post
 

Works perfectly ! Thank you so much ! :-)

Diaph
SWITZERLAND
2009-02-27 00:56:09
Permalink Post
 

Sorry just have another question regarding the topic. There is a possibility to apply the background color only for one section inside of a folder ?

Seems that even with different id it apply the same background color of all the section of a folder (Exhibition)

arsondpi A
GREECE
2009-02-27 11:22:39
Permalink Post
 

...why don't you try specifying it for each exhibit?
(if I understood the question well...)

Diaph
SWITZERLAND
2009-02-27 13:05:46
Permalink Post
 

You right arsondpi thanks, but for some reasons, after I modified the style.css (with black à default color) I was not able anymore to use a white color... I probably messed with the default color.

Anyway it work with the first value after the perfect white, so it's enough for now.

Thank you !

dajinni
SWITZERLAND
2009-08-04 10:03:55
Permalink Post
 

Vaska - is there an id appying to the images in an exhibit?

For example, can I use the CSS above, replacing color with image, and refering to the 'first' image in that gallery to load as background?

Cheers!

j.

Vaska A
I WROTE THIS
2009-08-04 10:15:00
Permalink Post
 

...

dajinni
SWITZERLAND
2009-08-04 10:21:53
Permalink Post
 

you can see my post here: http://www.indexhibit.org/forum/thread/4841/

if i wanted the bg behind the project area to be the first image, do I HAVE to upload it again, or can it automatically use the first image as bg (via the 'id')

dajinni
SWITZERLAND
2009-08-04 10:25:46
Permalink Post
 

fixed ..

sorry - just didn't want the unfinished page to be linked to)

dajinni
SWITZERLAND
2009-08-04 13:24:26
Permalink Post
 

I moved the link to 'contact info' area - this is not enough?

I saw other sites on here do this.

It does not say it has to be on the main page in the index.php or the forum rules ... ?

dajinni
SWITZERLAND
2009-08-04 13:31:49
Permalink Post
 

?

Vaska A
I WROTE THIS
2009-08-04 13:36:55
Permalink Post
 

We call it as we see it...you mean the 'contact' page that doesn't even work on your site?

I'm not on this site all day...and I'm going away now so I can focus on real work. When we can find a live link with credit to Indexhibit all will be good.

dajinni
SWITZERLAND
2009-08-04 13:38:44
Permalink Post
 

index.php
" you must provide a link to Indexhibit on your site someplace - thank you "

edit:

wierd - i see what you mean - it's gone ..

...

back after disabling the folding menu for contacts/admin ..

user error it seems ..

http://www.jmla.eu/index.php?/about-this-site/

dajinni
SWITZERLAND
2009-08-04 14:28:21
Permalink Post
 

OK found the problem:

The opening/collapsing menu only works well if you have the title of a section visible in the 'settings' properties for each section.

Otherwise, the first link in that section will become the title, and no longer function as a link.

Emilie
CHINA
2009-12-11 17:11:01
Permalink Post
 

Hi,

"Then, in your template add this to the 'body'...it will then look like this...
"

I am sorry to be such a neophyte, but I really don't know where to insert this.
Thanks so much for your help in advance.

Lili

Emilie
CHINA
2009-12-11 17:12:20
Permalink Post
 

Hi,

"Then, in your template add this to the 'body'.."

I am sorry to be such a neophyte, but I really don't know where to insert this. Where is the template?
Thanks so much for your help in advance.

Lili

Showing 1 - 17 of 17 posts in Forum > Customize > Changing Theme
 

You need to be logged in to post.