Main menu

Forum


× Help Forum English

[SOLVED] Two themes on one site is it possible?

  • SLV
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 11 ans 2 mois - il y a 11 ans 1 mois #5579 par SLV
I want to use two menu items with iсagenda component with different themes.
Both the CSS files of themes are used in the header of site, and styles are in conflict.
How can I use multiple themes on one site at the same time?
Dernière édition: il y a 11 ans 1 mois par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 2 mois #5586 par Lyr!C
Réponse de Lyr!C sur le sujet Two themes on one site is it possible?
Hi!

This should work! :huh:

Is it possible to have a link to the page with a problem to have a look at generated code ?

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • SLV
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 11 ans 2 mois - il y a 11 ans 2 mois #5598 par SLV
Réponse de SLV sur le sujet Two themes on one site is it possible?
There are screenshots conflict & noconflict.
Upcoming events list must be viewing as on noconflict screenshot.
Past events list must be viewing as on conflict screenshot.
Link has sent to moderator ;)
Pièces jointes :
Dernière édition: il y a 11 ans 2 mois par SLV.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 2 mois #5601 par Lyr!C
Réponse de Lyr!C sur le sujet Two themes on one site is it possible?
Thanks for screen shots!

You are loading two menu-item in the same page ?

So, the conflict is normal, but you can override it!

What you can do (not tested, but may work) is to add page class suffix in menus.

For example, the page with default theme, add "_default" and the one with ic_rounded, add "_ic_rounded"

Then, you will have no design for each one.

So, in your site template, copy/paste the css lines of default_component.css, and replace all #icagenda with #icagenda_default.
Then, the same with ic_rounded_component.css, replace all #icagenda with #icagenda_ic_rounded

Now, you will have all css style in your site template main css file.

And it should do the job! ;-)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • SLV
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 11 ans 1 mois #5612 par SLV
Réponse de SLV sur le sujet Two themes on one site is it possible?
Thanks, it works.

Maybe this is useful for distributive files for each theme, as done in calendar module and css file.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 1 mois #5625 par Lyr!C
Réponse de Lyr!C sur le sujet Two themes on one site is it possible?

SLV écrit: Thanks, it works.

Maybe this is useful for distributive files for each theme, as done in calendar module and css file.


Yes, this is something in brainstorming ;-)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.088 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new